{"id":"CVE-2024-23818","aliases":["CVE-2024-23818","GHSA-fcpm-hchj-mh72"],"related":[],"kind":"vulnerability","state":"published","title":"GeoServer Stored Cross-Site Scripting (XSS) vulnerability in WMS OpenLayers Format","summary":"GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.3 and 2.24.1 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the WMS GetMap OpenLayers Output Format.  Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"GeoServer is an open source software server written in Java that allows users to share and edit geospatial data. A stored cross-site scripting (XSS) vulnerability exists in versions prior to 2.23.3 and 2.24.1 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the WMS GetMap OpenLayers Output Format.  Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.","source":"cvelist"},{"lang":"en","text":"### Summary\nA stored cross-site scripting (XSS) vulnerability exists that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in the GeoServer catalog that will execute in the context of another user's browser when viewed in the WMS GetMap OpenLayers Output Format.  Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS.\n\n### Impact\nIf an attacker can control a script that is executed in the victim's browser, then they can typically fully compromise that user. Amongst other things, the attacker can:\n\n1 .Perform any action within the application that the user can perform.\n2. View any information that the user is able to view.\n3. Modify any information that the user is able to modify.\n4. Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user.\n\n### References\nhttps://osgeo-org.atlassian.net/browse/GEOS-11153\nhttps://github.com/geoserver/geoserver/pull/7174","format":"markdown","source":"ghsa"},{"lang":"es","text":"GeoServer es un servidor de software de código abierto escrito en Java que permite a los usuarios compartir y editar datos geoespaciales. Existe una vulnerabilidad de cross-site scripting (XSS) almacenado en versiones anteriores a la 2.23.3 y 2.24.1 que permite a un administrador autenticado con privilegios a nivel de espacio de trabajo almacenar un payload de JavaScript en el catálogo de GeoServer que se ejecutará en el contexto de la cuenta de otro usuario. navegador cuando se ve en el formato de salida WMS GetMap OpenLayers. El acceso al formato WMS OpenLayers está disponible para todos los usuarios de forma predeterminada, aunque la seguridad de los datos y del servicio puede limitar la capacidad de los usuarios para activar el XSS. Las versiones 2.23.3 y 2.24.1 contienen un parche para este problema.","source":"nvd"}],"published":"2024-03-20T15:15:17.000Z","modified":"2026-11-30T19:14:34.723Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","score":4.8,"rating":"MEDIUM"}],"cwes":["CWE-79"],"affected":[{"ranges":[{"version":"< 2.23.3","status":"affected"},{"version":"= 2.24.0","status":"affected"}],"vendor":"geoserver","product":"geoserver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.23.3"}],"ecosystem":"Maven","package":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.24.0","status":"affected","fixed":"2.24.1"}],"ecosystem":"Maven","package":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.23.3"},{"status":"affected","version":"2.24.0"}],"vendor":"osgeo","product":"geoserver","cpe":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/pull/7174","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11153","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23818","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-03-20T19:45:15.598Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23818","url":"https://www.cve.org/CVERecord?id=CVE-2024-23818","licence":"CVE Terms of Use","modified":"2024-08-01T23:13:07.982Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fcpm-hchj-mh72","url":"https://github.com/advisories/GHSA-fcpm-hchj-mh72","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:10.590Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23818","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23818","licence":"Public domain","modified":"2026-11-30T19:14:34.723Z"}],"updatedAt":"2026-11-30T19:17:32.524Z","epss":{"score":0.00426,"percentile":0.38797,"date":"2026-12-01T12:00:22.000Z"}}