# CVE-2024-23642: GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Simple SVG Renderer

- 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.43%, higher than 38% of CVEs (2026-12-01)
- Published: 2024-03-20T15:08:29.000Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-fg9v-56hw-g525
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, 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.4 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 SVG Output Format when the Simple SVG renderer is enabled. Access to the WMS SVG Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a fix for this issue.

(As written by CVE List.)

## Affected

- geoserver geoserver: < 2.23.4; = 2.24.0
- org.geoserver:gs-wms (Maven): before 2.23.4; from 2.24.0 before 2.24.1
- osgeo geoserver: before 2.23.4; 2.24.0

## 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-fg9v-56hw-g525> (vendor-advisory, web)
- <https://github.com/geoserver/geoserver/pull/7173> (issue-tracking, web)
- <https://github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00> (patch, web)
- <https://github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe> (patch, web)
- <https://osgeo-org.atlassian.net/browse/GEOS-11152> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23642> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2024-23642](https://www.cve.org/CVERecord?id=CVE-2024-23642), CVE Terms of Use, modified 2024-08-01
- GitHub Advisory Database: [GHSA-fg9v-56hw-g525](https://github.com/advisories/GHSA-fg9v-56hw-g525), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23642](https://nvd.nist.gov/vuln/detail/CVE-2024-23642), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2024-23642 · Whole record: https://cve.day/CVE-2024-23642.json · Rebuilt by cve.day 2026-11-30T19:17:32.261Z
