# CVE-2023-51445: GeoServer Stored Cross-Site Scripting (XSS) vulnerability in REST Resources API

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.49%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-03-20T14:58:17.000Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-fh7p-5f6g-vj2w
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- geoserver geoserver: < 2.23.3; before 2.23.3
- org.geoserver:gs-restconfig (Maven): before 2.23.3
- osgeo geoserver: before 2.23.3

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-fh7p-5f6g-vj2w> (exploit, vendor-advisory, web)
- <https://github.com/geoserver/geoserver/pull/7161> (issue-tracking, web)
- <https://github.com/geoserver/geoserver/commit/7db985738ff2422019ccac974cf547bae5770cad> (patch, web)
- <https://osgeo-org.atlassian.net/browse/GEOS-11148> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51445> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2023-51445](https://www.cve.org/CVERecord?id=CVE-2023-51445), CVE Terms of Use, modified 2024-08-21
- GitHub Advisory Database: [GHSA-fh7p-5f6g-vj2w](https://github.com/advisories/GHSA-fh7p-5f6g-vj2w), CC-BY-4.0, modified 2024-03-20
- NVD: [CVE-2023-51445](https://nvd.nist.gov/vuln/detail/CVE-2023-51445), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2023-51445 · Whole record: https://cve.day/CVE-2023-51445.json · Rebuilt by cve.day 2026-11-30T19:17:12.886Z
