{"id":"CVE-2024-23819","aliases":["CVE-2024-23819","GHSA-7x76-57fr-m5r5"],"related":[],"kind":"vulnerability","state":"published","title":"GeoServer Stored Cross-Site Scripting (XSS) vulnerability in MapML HTML Page","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.4 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 MapML HTML Page. The MapML extension must be installed and access to the MapML HTML Page is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.4 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.4 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 MapML HTML Page. The MapML extension must be installed and access to the MapML HTML Page is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.4 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 MapML HTML Page.  The MapML extension must be installed and access to the MapML HTML Page is available to all users although data 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-11154\nhttps://github.com/geoserver/geoserver/pull/7175","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.4 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 la página HTML de MapML. La extensión MapML debe estar instalada y el acceso a la página HTML de MapML está disponible para todos los usuarios, aunque la seguridad de los datos puede limitar la capacidad de los usuarios para activar el XSS. Las versiones 2.23.4 y 2.24.1 contienen un parche para este problema.","source":"nvd"}],"published":"2024-03-20T15:16:53.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.4","status":"affected"},{"version":"= 2.24.0","status":"affected"}],"vendor":"geoserver","product":"geoserver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.23.4"}],"ecosystem":"Maven","package":"org.geoserver.extension:gs-mapml","purl":"pkg:maven/org.geoserver.extension/gs-mapml","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.24.0","status":"affected","fixed":"2.24.1"}],"ecosystem":"Maven","package":"org.geoserver.extension:gs-mapml","purl":"pkg:maven/org.geoserver.extension/gs-mapml","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.23.4"},{"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-7x76-57fr-m5r5","tags":["vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/pull/7175","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/commit/6f04adbdc6c289f5cb815b1462a6bd790e3fb6ef","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/commit/df65ff05250cbb498c78af906d66e0c084ace8a1","tags":["patch","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11154","tags":["issue-tracking","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23819","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-21T17:44:41.576Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-23819","url":"https://www.cve.org/CVERecord?id=CVE-2024-23819","licence":"CVE Terms of Use","modified":"2024-08-01T23:13:08.246Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-7x76-57fr-m5r5","url":"https://github.com/advisories/GHSA-7x76-57fr-m5r5","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:00.317Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-23819","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-23819","licence":"Public domain","modified":"2026-11-30T19:14:34.723Z"}],"updatedAt":"2026-11-30T19:17:13.104Z","epss":{"score":0.00426,"percentile":0.38841,"date":"2026-12-01T12:00:22.000Z"}}