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

CVE-2025-58360: GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature

November 25, 2025 (updated December 11, 2025)

An XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request.

An XML External Entity attack is a type of attack that occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure of confidential data, denial of service, port scanning from the perspective of the machine where the parser is located, and other system impacts.

By exploiting this vulnerability, an attacker can:

  • Read arbitrary files from the server’s file system.
  • Conduct Server-Side Request Forgery (SSRF) to interact with internal systems.
  • Execute Denial of Service (DoS) attacks by exhausting resources.

References

  • github.com/advisories/GHSA-fjf5-xgmq-5525
  • github.com/geoserver/geoserver
  • github.com/geoserver/geoserver/security/advisories/GHSA-fjf5-xgmq-5525
  • nvd.nist.gov/vuln/detail/CVE-2025-58360
  • osgeo-org.atlassian.net/browse/GEOS-11682
  • www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-58360

Code Behaviors & Features

Detect and mitigate CVE-2025-58360 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.25.6, all versions starting from 2.26.0 before 2.26.2

Fixed versions

  • 2.26.2
  • 2.25.6

Solution

Upgrade to versions 2.25.6, 2.26.2 or above.

Impact 8.2 HIGH

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

Learn more about CVSS

Weakness

  • CWE-611: Improper Restriction of XML External Entity Reference

Source file

maven/org.geoserver/gs-wms/CVE-2025-58360.yml

Spotted a mistake? Edit the file on GitLab.

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

Page generated Sun, 14 Dec 2025 00:19:09 +0000.