{"id":"CVE-2024-23819","published":"2024-03-20T18:00:46Z","modified":"2024-08-01T23:13:08Z","title":"GeoServer Stored Cross-Site Scripting (XSS) vulnerability in MapML HTML Page","vendor":"geoserver","product":"geoserver","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.8,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00426,"percentile":0.37776,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-7x76-57fr-m5r5","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/geoserver/geoserver/pull/7175","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/6f04adbdc6c289f5cb815b1462a6bd790e3fb6ef","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/df65ff05250cbb498c78af906d66e0c084ace8a1","tags":["x_refsource_MISC"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11154","tags":["x_refsource_MISC"]}],"priority":{"score":10.9,"factors":[{"name":"EPSS percentile","points":7.56},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"geoserver","affectedVersions":[{"vendor":"geoserver","product":"geoserver","versions":["< 2.23.4","= 2.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-21T17:44:41.576098Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.geoserver.extension:gs-mapml","vulnerableRanges":["<2.23.4",">=2.24.0, <2.24.1"],"patched":["2.23.4","2.24.1"],"from":["GHSA-7x76-57fr-m5r5"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the MapML HTML Page of GeoServer, an open source Java server for sharing and editing geospatial data, allows a JavaScript payload to be saved in the catalog. This affects GeoServer versions prior to 2.23.4 and 2.24.1 when the MapML extension is installed. An attacker with workspace-level administrator privileges can plant the payload, which then executes in another user's browser when that user views the MapML HTML Page, requiring that user's interaction and subject to data security limits that may restrict the ability to trigger it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:01:57Z"},"euvd":{"id":"EUVD-2024-0864","exploited":false,"provenance":"source"}}