CVE-2024-23642 json
GeoServer Stored Cross-Site Scripting (XSS) vulnerability in Simple SVG Renderer
published 2024-03-20 2 y ago modified 2026-09-10 1 mo ago also EUVD-2024-0917 , GHSA-fg9v-56hw-g525
- 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.4 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 SVG Output Format when the Simple SVG renderer is enabled. Access to the WMS SVG Format is available to all users by default although data and service security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a fix for this issue.
Patch / fix
- maven org.geoserver:gs-wms 2.23.4, 2.24.1
- org.geoserver gs-wms 2.23.4, 2.24.1
- github.com/geoserver/geoserver@1b1835a commit
- github.com/geoserver/geoserver@9f40265 commit
- github.com/geoserver/geoserver#7173 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.4 >=2.24.0, <2.24.1 |
2.23.4 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/7173
web, issue-tracking
-
github.com
/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00
web, patch
-
github.com
/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe
web, patch
-
github.com
/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525
web, vendor-advisory
-
osgeo-org.atlassian.net
/browse/GEOS-11152
web, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-23642
advisory
-
github.com
/geoserver/geoserver
package
Sources
- CVE List CVE-2024-23642
- GitHub Advisory GHSA-fg9v-56hw-g525
- NVD CVE-2024-23642
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.