{"cve":"CVE-2023-51445","nvd":{"published":"2024-03-20T16:15:07.640","modified":"2026-06-17T06:40:58.440","status":"Analyzed","description":"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.","cvss_v4":null,"cvss_v3":{"version":"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},"cwes":["CWE-79"],"references":["https://github.com/geoserver/geoserver/commit/7db985738ff2422019ccac974cf547bae5770cad","https://github.com/geoserver/geoserver/pull/7161","https://github.com/geoserver/geoserver/security/advisories/GHSA-fh7p-5f6g-vj2w","https://osgeo-org.atlassian.net/browse/GEOS-11148","https://github.com/geoserver/geoserver/commit/7db985738ff2422019ccac974cf547bae5770cad"],"products":["geoserver:geoserver"],"source":"nvd","synced_at":"2026-10-19T21:47:51.568503435+00:00"},"epss":{"cve":"CVE-2023-51445","score":0.00487,"percentile":0.4196,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-fh7p-5f6g-vj2w","url":"https://osv.dev/vulnerability/GHSA-fh7p-5f6g-vj2w","summary":"Stored Cross-Site Scripting (XSS) vulnerability in GeoServer's REST Resources API","modified":"2024-03-20T21:04:09Z","packages":[{"ecosystem":"Maven","name":"org.geoserver:gs-restconfig","purl":"pkg:maven/org.geoserver/gs-restconfig","ranges":["<2.23.3"],"fixed":["2.23.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}