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

Source: https://junglewise.ai/threats/cve-2024-23821-geoserver-s-gwc-demos-page-vulnerable-to-stored-cross-site  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-03-20  
License: CC BY 4.0 with a link back

CVE-2024-23821 · Severity: low · CVSS 3.1 · Published 2024-03-20

GeoServer's GWC Demos Page vulnerable to Stored Cross-Site Scripting (XSS)

Technologies: [org.geoserver:gs-gwc (Maven)](https://junglewise.ai/threats/technologies/org-geoserver-gs-gwc). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-23821 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-23821 being exploited in the wild.

**How severe is CVE-2024-23821?** Low severity, with a CVSS score of 3.1, published 20 March 2024.

**Which products and versions are affected?** org.geoserver:gs-gwc (Maven) ECOSYSTEM:introduced=2.24.0,fixed=2.24.1.

**Is there a fix for CVE-2024-23821?** Yes. org.geoserver:gs-gwc (Maven): upgrade to 2.24.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-23821?** Check whether you run org.geoserver:gs-gwc (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.geoserver:gs-gwc (Maven): upgrade to 2.24.1 or later

  ```sh
  # set org.geoserver:gs-gwc to 2.24.1 in your pom.xml or build.gradle
  ```


## Affected products

- org.geoserver:gs-gwc (Maven) ECOSYSTEM:introduced=2.24.0,fixed=2.24.1

## Identifiers

- CVE-2024-23821
- GHSA-88wc-fcj9-q3r9

## Related threats

- [GWC Home Page communicate version and revision information](https://junglewise.ai/threats/cve-2024-38524-gwc-home-page-communicate-version-and-revision-information)
- [Classpath resource disclosure in GWC Web Resource API on Windows / Tomcat](https://junglewise.ai/threats/cve-2024-24749-classpath-resource-disclosure-in-gwc-web-resource-api-on-windows)
