CVE-2024-23642: geoserver · Cross-site Scripting
Affects geoserverSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium · fixed in 2.23.4 : update geoserver 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.4, 2.24.1
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-wms to 2.23.4; org.geoserver:gs-wms to 2.24.1.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.geoserver:gs-wmspkg:maven/org.geoserver/gs-wmsOther threats | Affected
| Fixed in
|
Mavenorg.geoserver:gs-wmspkg:maven/org.geoserver/gs-wmsOther 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.4 or later, or version 2.24.1 or later, where this vulnerability is fixed. Restrict administrative privileges to trusted users and consider disabling the Simple SVG renderer in the WMS GetMap SVG Output Format if not required. Review and enforce data and service security policies to limit user access to vulnerable features.
Description
GeoServer versions prior to 2.23.4 and version 2.24.0 contain a stored cross-site scripting (XSS) vulnerability. This flaw allows an authenticated administrator with workspace-level privileges to inject JavaScript payloads into the GeoServer catalog. When the WMS GetMap SVG Output Format with the Simple SVG renderer enabled is accessed, the malicious script executes in the context of another user's browser. Access to the vulnerable WMS SVG Format is enabled by default, but data and service security may restrict exploitation. Versions 2.23.4 and 2.24.1 include fixes for this vulnerability.
References
- github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525 (opens in a new tab)
- github.com/geoserver/geoserver/pull/7173 (opens in a new tab)
- github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00 (opens in a new tab)
- github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe (opens in a new tab)
- osgeo-org.atlassian.net/browse/GEOS-11152 (opens in a new tab)