CVE-2024-23640GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Style Publisher
- 4.8MediumCVSS base score
- 0.43%Exploitation in 30 daysEPSS · top 63% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.3 and 2.24.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources or in a specially crafted datastore file that will execute in the context of another user's browser when viewed in the Style Publisher. Access to the Style Publisher is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.0 contain a fix for this issue.
Timeline
ID reserved
By GitHub_M
- 2 months later
· 2 months later
Published
- 4 months later
· 4 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Medium4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVDNVD · Analyzed | 3.1 | Medium4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
- EPSS (exploitation in 30 days)
- 0.43% · top 63% of all CVEs (14 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 4.8.
Affected products
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.geoserver:gs-mainGHSA-9rfr-pf2x-g4xf (opens in a new tab)
- Mavenorg.geoserver:gs-owsGHSA-9rfr-pf2x-g4xf (opens in a new tab)
References
References5
- https://github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/geoserver/geoserver/pull/7162 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/geoserver/geoserver/pull/7181 (opens in a new tab)x_refsource_MISCx_transferred
- https://osgeo-org.atlassian.net/browse/GEOS-11149 (opens in a new tab)x_refsource_MISCx_transferred
- https://osgeo-org.atlassian.net/browse/GEOS-11155 (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-0889 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-9rfr-pf2x-g4xf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-23640)Record last updated .