CVE-2024-23818 json
GeoServer Stored Cross-Site Scripting (XSS) vulnerability in WMS OpenLayers Format
published 2024-03-20 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0915 , GHSA-fcpm-hchj-mh72
- cvss
- 4.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 37%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.geoserver:gs-wms 2.23.3, 2.24.1
- org.geoserver gs-wms 2.23.3, 2.24.1
- github.com/geoserver/geoserver@4557a83 commit
- github.com/geoserver/geoserver@a26c32a commit
- github.com/geoserver/geoserver#7174 pull request
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- partial
- Assessed
- 2 y ago
Exploit prediction
0.43% chance of exploitation in the next 30 days, higher than 37% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| GitHub | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
| NVD | 3.1 | 4.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.geoserver:gs-wms | <2.23.3 >=2.24.0, <2.24.1 |
2.23.3 2.24.1 |
Affected products
- geoserver geoserver
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/geoserver/geoserver/pull/7174
web, issue-tracking
-
github.com
/geoserver/geoserver/commit/4557a832eed19ec18b9753cb97e8aa85269741d2
web, patch
-
github.com
/geoserver/geoserver/commit/a26c32a469ee4c599236380452ffb4260361bd6f
web, patch
-
github.com
/geoserver/geoserver/security/advisories/GHSA-fcpm-hchj-mh72
web, vendor-advisory
-
osgeo-org.atlassian.net
/browse/GEOS-11153
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-23818
advisory
-
github.com
/geoserver/geoserver
package
Sources
- CVE List CVE-2024-23818
- GitHub Advisory GHSA-fcpm-hchj-mh72
- NVD CVE-2024-23818
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.