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

CVE-2024-23642: GeoServer's Simple SVG Renderer 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 WMS GetMap SVG Output Format when the Simple SVG renderer is enabled. Access to the WMS SVG Format is available to all users by default although data and service security may limit users’ ability to trigger the XSS.

References

  • github.com/advisories/GHSA-fg9v-56hw-g525
  • github.com/geoserver/geoserver
  • github.com/geoserver/geoserver/commit/1b1835afbb9c282d1840786259aeda81c1d22b00
  • github.com/geoserver/geoserver/commit/9f40265febb5939f23e2c53930c9c35e93970afe
  • github.com/geoserver/geoserver/pull/7173
  • github.com/geoserver/geoserver/security/advisories/GHSA-fg9v-56hw-g525
  • nvd.nist.gov/vuln/detail/CVE-2024-23642
  • osgeo-org.atlassian.net/browse/GEOS-11152

Code Behaviors & Features

Detect and mitigate CVE-2024-23642 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.23.4
  • 2.24.1

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-wms/CVE-2024-23642.yml

Spotted a mistake? Edit the file on GitLab.

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

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