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

CVE-2024-23640: GeoServer's Style Publisher 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 uploaded style/legend resources or in a specially crafted datastore file that will execute in the context of another user’s browser when viewed in the Style Publisher. Access to the Style Publisher is available to all users although data security may limit users’ ability to trigger the XSS.

References

  • github.com/advisories/GHSA-9rfr-pf2x-g4xf
  • github.com/geoserver/geoserver
  • github.com/geoserver/geoserver/pull/7162
  • github.com/geoserver/geoserver/pull/7181
  • github.com/geoserver/geoserver/security/advisories/GHSA-9rfr-pf2x-g4xf
  • nvd.nist.gov/vuln/detail/CVE-2024-23640
  • osgeo-org.atlassian.net/browse/GEOS-11149
  • osgeo-org.atlassian.net/browse/GEOS-11155

Code Behaviors & Features

Detect and mitigate CVE-2024-23640 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.3

Fixed versions

  • 2.23.3

Solution

Upgrade to version 2.23.3 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-ows/CVE-2024-23640.yml

Spotted a mistake? Edit the file on GitLab.

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

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