CVE-2024-23640: geoserver · Cross-site Scripting
Affects geoserverSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium : upgrade to 2.23.3 when convenient.
Data as of 30 Nov 2026, 19:51 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.8 |
|---|
- Patch
- Available – fixed in 2.23.3
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 20 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 30 Nov 2026.
What to do
Upgrade org.geoserver:gs-main and org.geoserver:gs-ows to 2.23.3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.geoserver:gs-mainpkg:maven/org.geoserver/gs-mainOther threats | Affected
| Fixed in
|
Mavenorg.geoserver:gs-owspkg:maven/org.geoserver/gs-owsOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade GeoServer to version 2.23.3 or later, or 2.24.0 or later, where the vulnerability is fixed. No other mitigation is indicated by the vendor advisory.
Description
A stored cross-site scripting (XSS) vulnerability exists in GeoServer versions prior to 2.23.3 and 2.24.0. An authenticated administrator with workspace-level privileges can inject JavaScript payloads into style/legend resources or specially crafted datastore files. These payloads execute in the context of other users' browsers when viewed in the Style Publisher, which is accessible to all users. Versions 2.23.3 and 2.24.0 include a fix for this issue.
References
- github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf (opens in a new tab)
- github.com/geoserver/geoserver/pull/7162 (opens in a new tab)
- github.com/geoserver/geoserver/pull/7181 (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOS-11149 (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOS-11155 (opens in a new tab)