{"id":"CVE-2023-51445","published":"2024-03-20T15:14:49Z","modified":"2024-08-21T23:01:43Z","title":"GeoServer Stored Cross-Site Scripting (XSS) vulnerability in REST Resources API","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.3 and 2.24.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources that will execute in the context of another administrator's browser when viewed in the REST Resources API.  Access to the REST Resources API is limited to full administrators by default and granting non-administrators access to this endpoint should be carefully considered as it may allow access to files containing sensitive information. Versions 2.23.3 and 2.24.0 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.00487,"percentile":0.42853,"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-fh7p-5f6g-vj2w","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/geoserver/geoserver/pull/7161","tags":["x_refsource_MISC"]},{"url":"https://github.com/geoserver/geoserver/commit/7db985738ff2422019ccac974cf547bae5770cad","tags":["x_refsource_MISC"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11148","tags":["x_refsource_MISC"]}],"priority":{"score":11.9,"factors":[{"name":"EPSS percentile","points":8.57},{"name":"CVSS severity","points":3.36}]},"vendorSlug":"geoserver","affectedVersions":[{"vendor":"geoserver","product":"geoserver","versions":["< 2.23.3"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2024-03-20T19:31:18.658124Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.geoserver:gs-restconfig","vulnerableRanges":["<2.23.3"],"patched":["2.23.3"],"from":["GHSA-fh7p-5f6g-vj2w"],"provenance":"source"}],"summary":{"text":"A stored cross-site scripting flaw in the REST Resources API of GeoServer, an open source Java server for sharing and editing geospatial data, allows a JavaScript payload to be saved in uploaded style and legend resources. An attacker holding workspace-level privileges (authenticated, with high privileges required) can trigger execution in another administrator's browser, which requires that administrator to view the affected resource, i.e. user interaction.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:56:28Z"},"euvd":{"id":"EUVD-2024-0920","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-51445","published":"2024-03-20","fixed":"2.23.3","kev":false},{"cve":"CVE-2023-51444","published":"2024-03-20","fixed":"2.24.1","kev":false,"link":{"from":"CVE-2023-51445","to":"CVE-2023-51444","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.geoserver:gs-restconfig","fromFixed":"2.23.3","toFixed":"2.23.4","daysApart":0}]}},{"cve":"CVE-2024-23634","published":"2024-03-20","fixed":"2.24.2","kev":false}],"package":"Maven:org.geoserver:gs-restconfig"}}