Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.geoserver/gs-restconfig
  4. ›
  5. CVE-2023-51445

CVE-2023-51445: Stored Cross-Site Scripting (XSS) vulnerability in GeoServer's REST Resources API

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 that will execute in the context of another administrator’s browser when viewed in the REST Resources API. Access to the REST Resources API is limited to full administrators by default and granting non-administrators access to this endpoint should be carefully considered as it may allow access to files containing sensitive information.

References

  • github.com/advisories/GHSA-fh7p-5f6g-vj2w
  • github.com/geoserver/geoserver
  • github.com/geoserver/geoserver/commit/7db985738ff2422019ccac974cf547bae5770cad
  • github.com/geoserver/geoserver/pull/7161
  • github.com/geoserver/geoserver/security/advisories/GHSA-fh7p-5f6g-vj2w
  • nvd.nist.gov/vuln/detail/CVE-2023-51445
  • osgeo-org.atlassian.net/browse/GEOS-11148

Code Behaviors & Features

Detect and mitigate CVE-2023-51445 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-restconfig/CVE-2023-51445.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:15 +0000.