CVE-2024-23821
mediumpriority · track · 19EPSS 0.004 · 35 %ileEUUSEPSS · scored 2026-10-27
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 GWC Demos Page. Access to the GWC Demos Page is available to all users although data security may limit users' ability to trigger the XSS. Versions 2.23.4 and 2.24.1 contain a patch for this issue.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (7)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-88wc-fcj9-q3r9GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)2024-03-20ghsa · osvUS
### Summary A stored cross-site scripting (XSS) vulnerability exists 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 GWC Demos Page. Access to the GWC Demos Page is available to all users although data security may limit users' ability to trigger the XSS. ### Impact If an attacker can control a script that is executed in the victim's browser, then they can typically fully compromise that user. Amongst other things, the attacker can: 1 .Perform any action within the application that the user can perform. 2. View any information that the user is able to view. 3. Modify any information that the user is able to modify. 4. Initiate interactions with other application users, including malicious attacks, that will appear to originate from the initial victim user. ### References https://github.com/GeoWebCache/geowebcache/issues/1171 https://github.com/GeoWebCache/geowebcache/pull/1173
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2024-23821/cnnvd
- https://github.com/GeoWebCache/geowebcache/issues/1171cnnvd
- https://github.com/GeoWebCache/geowebcache/pull/1173cnnvd
- https://github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9cnnvd
- https://github.com/GeoWebCache/geowebcache/issues/1171enisa_euvd
- https://github.com/GeoWebCache/geowebcache/pull/1173enisa_euvd
- https://github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9enisa_euvd
- https://github.com/GeoWebCache/geowebcache/issues/1171Issue Trackingnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan