Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geoserver/gs-gwc
  4. ›
  5. CVE-2024-23821

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

March 20, 2024

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.

References

  • github.com/GeoWebCache/geowebcache/issues/1171
  • github.com/GeoWebCache/geowebcache/pull/1173
  • github.com/advisories/GHSA-88wc-fcj9-q3r9
  • github.com/geoserver/geoserver
  • github.com/geoserver/geoserver/security/advisories/GHSA-88wc-fcj9-q3r9
  • nvd.nist.gov/vuln/detail/CVE-2024-23821

Code Behaviors & Features

Detect and mitigate CVE-2024-23821 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.23.4, all versions starting from 2.24.0 before 2.24.1

Fixed versions

  • 2.24.1
  • 2.23.4

Solution

Upgrade to versions 2.23.4, 2.24.1 or above.

Impact 4.8 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

maven/org.geoserver/gs-gwc/CVE-2024-23821.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:00 +0000.