# CVE-2024-23821: GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)

- Severity: Medium 4.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Published: 2024-03-20T15:18:21.000Z
- Modified: 2026-11-30T19:14:34.723Z
- Also known as: GHSA-88wc-fcj9-q3r9
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- geoserver geoserver: < 2.23.4; = 2.24.0
- org.geoserver:gs-gwc (Maven): from 2.24.0 before 2.24.1; before 2.23.4
- osgeo geoserver: before 2.23.4; 2.24.0

## Every score

- GitHub_M: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`
- NVD: CVSS:3.1 4.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9> (vendor-advisory, web)
- <https://github.com/GeoWebCache/geowebcache/issues/1171> (issue-tracking, web)
- <https://github.com/GeoWebCache/geowebcache/pull/1173> (issue-tracking, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-23821> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2024-23821](https://www.cve.org/CVERecord?id=CVE-2024-23821), CVE Terms of Use, modified 2025-04-10
- GitHub Advisory Database: [GHSA-88wc-fcj9-q3r9](https://github.com/advisories/GHSA-88wc-fcj9-q3r9), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-23821](https://nvd.nist.gov/vuln/detail/CVE-2024-23821), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2024-23821 · Whole record: https://cve.day/CVE-2024-23821.json · Rebuilt by cve.day 2026-11-30T19:17:12.595Z
