CVE-2024-23640 json
GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Style Publisher
published 2024-03-20 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0889 , GHSA-9rfr-pf2x-g4xf
- 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.0 that enables an authenticated administrator with workspace-level privileges to store a JavaScript payload in uploaded style/legend resources or in a specially crafted datastore file that will execute in the context of another user's browser when viewed in the Style Publisher. Access to the Style Publisher is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.3 and 2.24.0 contain a fix for this issue.
Patch / fix
- maven org.geoserver:gs-main 2.23.3
- maven org.geoserver:gs-ows 2.23.3
- geoserver geoserver 2.23.3
- org.geoserver gs-main 2.23.3
- osgeo geoserver 2.23.3
- org.geoserver gs-ows 2.23.3
- github.com/geoserver/geoserver#7162 pull request
- github.com/geoserver/geoserver#7181 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-main | <2.23.3 |
2.23.3 |
| maven | org.geoserver:gs-ows | <2.23.3 |
2.23.3 |
Affected products
- geoserver geoserver
Classification
- Weakness
-
- CWE-79 Improper Neutralization of Input During Web Page Generation
References
-
github.com
/geoserver/geoserver/pull/7162
web, issue-tracking
-
github.com
/geoserver/geoserver/pull/7181
web, issue-tracking
-
github.com
/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf
web, vendor-advisory
-
osgeo-org.atlassian.net
/browse/GEOS-11149
web, issue-tracking
-
osgeo-org.atlassian.net
/browse/GEOS-11155
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-23640
advisory
-
github.com
/geoserver/geoserver
package
Sources
- CVE List CVE-2024-23640
- GitHub Advisory GHSA-9rfr-pf2x-g4xf
- NVD CVE-2024-23640
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.