CVE-2024-23821: geoserver · Cross-site Scripting
Affects geoserverSource GCVE Database
Not known to be exploited · CVSS 4.8 Medium · fixed in 2.24.1 : update geoserver when convenient.
Data as of 30 Nov 2026, 19:50 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.8 |
|---|
- Patch
- Available – fixed in 2.24.1, 2.23.4
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-gwc to 2.24.1; org.geoserver:gs-gwc to 2.23.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavenorg.geoserver:gs-gwcpkg:maven/org.geoserver/gs-gwcOther threats | Affected
| Fixed in
|
Mavenorg.geoserver:gs-gwcpkg:maven/org.geoserver/gs-gwcOther 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 2.24.1 or later, which contain patches for this vulnerability. No additional mitigation is required if these versions are deployed.
Description
GeoServer versions prior to 2.23.4 and version 2.24.0 contain a stored cross-site scripting (XSS) vulnerability. An authenticated administrator with workspace-level privileges can inject JavaScript payloads into the GeoServer catalog, which execute in other users' browsers when they access the GWC Demos Page. The GWC Demos Page is accessible to all users, though data security restrictions may limit exploitation. Versions 2.23.4 and 2.24.1 include patches that address this vulnerability.