CVE-2024-23642: GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Simple SVG Renderer
Vulnerability summary
CVE-2024-23642 is a medium (CVSS 4.8) vulnerability in geoserver. EPSS estimates a 0.43% chance of exploitation in the next 30 days, higher than 38.8% of scored vulnerabilities.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
CIRCL last checked 05-12-2026
Source freshness unavailable
How is this decided?Timeline
- 20-03-2024PublishedVulnerability first disclosed.
- 01-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · MavenEcosystem advisory · calculated4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
- NVDNIST4.8MediumCVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.43%
Chance of exploitation in the next 30 days
Percentile
39%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.43% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, administrative account, user interaction (CVSS vector). Other conditions: not stated in public data.
Geoserver1 product
- geoserverEOL= 2.24.0 | < 2.23.4 | 2.24.0
Org.geoserver1 product
- gs-wms< 2.23.4 | ≥ 2.24.0, < 2.24.1
Osgeo1 product
- geoserverEOL< 2.23.4 | 2.24.0
3 vendors · 3 products
References
7 links- github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525X Refsource CONFIRMWEBVendor Advisory
- github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00X Refsource MISCWEBPatch
- github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afeX Refsource MISCWEBPatch