CVE-2024-23821: GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)
Vulnerability summary
CVE-2024-23821 is a medium (CVSS 4.8) vulnerability in geoserver. EPSS estimates a 0.40% chance of exploitation in the next 30 days, higher than 36.8% of scored vulnerabilities.
Not severe (CVSS 4.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 20-03-2024PublishedVulnerability first disclosed.
- 10-04-2025Last 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 GWC Demos Page. Access to the GWC Demos Page is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a patch 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.40%
Chance of exploitation in the next 30 days
Percentile
37%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.40% 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-gwc≥ 2.24.0, < 2.24.1 | < 2.23.4
Osgeo1 product
- geoserverEOL< 2.23.4 | 2.24.0
3 vendors · 3 products
References
5 links- github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9X Refsource CONFIRMWEBVendor Advisory