# CVE-2024-23818: GeoServer Stored Cross-Site Scripting (XSS) vulnerability in WMS OpenLayers Format

- 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-01
- Aliases: GHSA-fcpm-hchj-mh72
- Record: https://cvemate.com/vulnerability/CVE-2024-23818 · JSON: https://cvemate.com/vulnerability/CVE-2024-23818/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.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 WMS GetMap OpenLayers Output Format.  Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 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.426%, percentile 38.796%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- geoserver geoserver: = 2.24.0 \| \< 2.23.3 \| 2.24.0
- org.geoserver gs-wms (Maven): \< 2.23.3 \| ≥ 2.24.0, \< 2.24.1
- osgeo geoserver: \< 2.23.3 \| 2.24.0

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72>
- <https://github.com/geoserver/geoserver/pull/7174>
- <https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2>
- <https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f>
- <https://osgeo-org.atlassian.net/browse/GEOS-11153>
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23818>
- <https://github.com/geoserver/geoserver>

---

Data as of 2026-12-05T13:08:49.699Z. 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
