CVE-2024-23821
GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)
Overview
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.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.
Source: OX vulnerability database
Severity
4.8 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- High
- User interaction
- Required
- Scope
- Changed
- Confidentiality
- Low
- Integrity
- Low
- Availability
- None
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N
Weakness: CWE-79
Affected packages · 1
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | org.geoserver:gs-gwc | >=2.24.0, <2.24.1<2.23.4 | 2.24.12.23.4 |
Open a package to see all its vulnerabilities.
Operating systems
No Linux distribution reports this ID.
References
- github.com https://github.com/GeoWebCache/geowebcache/issues/1171
- github.com https://github.com/GeoWebCache/geowebcache/pull/1173
- github.com https://github.com/geoserver/geoserver
- github.com https://github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2024-23821
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.