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

- Priority: **Routine**
- Reason: Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2024-03-20 · Modified: 2024-08-21
- Aliases: GHSA-fh7p-5f6g-vj2w
- Record: https://cvemate.com/vulnerability/CVE-2023-51445 · JSON: https://cvemate.com/vulnerability/CVE-2023-51445/json

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

## Signals

- CVSS: 4.8 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- EPSS: 0.487%, percentile 43.587%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

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

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-fh7p-5f6g-vj2w>
- <https://github.com/geoserver/geoserver/pull/7161>
- <https://github.com/geoserver/geoserver/commit/7db985738ff2422019ccac974cf547bae5770cad>
- <https://osgeo-org.atlassian.net/browse/GEOS-11148>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-51445>
- <https://github.com/geoserver/geoserver>

---

Data as of 2026-12-05T13:41:58.346Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
