CVE-2024-23818
published medium CVSS 3.1 · 4.8GeoServer Stored Cross-Site Scripting (XSS) vulnerability in WMS OpenLayers Format
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| geoserver | — | geoserver< 2.23.3 · = 2.24.0 | Affected | Not stated | GitHub_M |
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.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 WMS GetMap OpenLayers Output Format. Access to the WMS OpenLayers Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.1 contain a patch for this issue.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.8 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| geoserver | geoserver | < 2.23.3 (affected)= 2.24.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
References
5- https://github.com/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2
- https://github.com/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f
- https://github.com/geoserver/geoserver/pull/7174
- https://github.com/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72
- https://osgeo-org.atlassian.net/browse/GEOS-11153
Provider assertions
3GitHub_M · cna
GeoServer Stored Cross-Site Scripting (XSS) vulnerability in WMS OpenLayers Format
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- aaf647c4d03d1fe3429d4f6a713f24f50b62f6ab5335a6ddf515132f80716bf4
- Ingested
- 23 Sep 2026, 08:19:40 UTC
- Source record
- Official CVE record