Skip to main content

CVE-2025-58360 — Vulnerability in org.geoserver:gs-wms — CVE Details

HIGH
Actively Exploited

GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature

Published November 25, 2025Updated December 11, 2025Source: OSV

What Should I Do?

Patch Immediately

This vulnerability is confirmed under active exploitation (CISA KEV). Patch within 24-48 hours if possible.

Does your project use an affected org.geoserver:gs-wms version?

Paste your pom.xml to check it for CVE-2025-58360 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

Summary

Description

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.

Resolution

Update to GeoServer 2.25.6, GeoServer 2.26.3, or GeoServer 2.27.0.

Impact

The XXE vulnerability can be used to retrieve arbitrary files from the server's file system.

Reference

Disclaimer

This vulnerability was detected using XBOW, a system that autonomously finds and exploits potential security vulnerabilities. The finding has been thoroughly reviewed and validated by a security researcher before submission. While XBOW is intended to work autonomously, during its development human experts ensure the accuracy and relevance of its reports.

Advisory Timeline

  • First published November 25, 2025 (366 days ago).
  • Last revised December 11, 2025 — 16 days after initial publication.
  • Added to CISA's Known Exploited Vulnerabilities catalog 15 days after publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.geoserver:gs-wms to 2.25.6 or later
<!-- Update pom.xml dependency version to 2.25.6 for org.geoserver:gs-wms -->
Maven
Update org.geoserver:gs-wms to 2.26.2 or later
<!-- Update pom.xml dependency version to 2.26.2 for org.geoserver:gs-wms -->
Maven
Update org.geoserver.web:gs-web-app to 2.25.6 or later
<!-- Update pom.xml dependency version to 2.25.6 for org.geoserver.web:gs-web-app -->
Maven
Update org.geoserver.web:gs-web-app to 2.26.2 or later
<!-- Update pom.xml dependency version to 2.26.2 for org.geoserver.web:gs-web-app -->

After upgrading, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (4)

Affects 1 ecosystem: Maven (2).

PackageFixed In
org.geoserver:gs-wms Maven · Affected: All versions2.25.6
org.geoserver:gs-wms Maven · Affected: All versions2.26.2
org.geoserver.web:gs-web-app Maven · Affected: All versions2.25.6
org.geoserver.web:gs-web-app Maven · Affected: All versions2.26.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
Low

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

Frequently Asked Questions

What is CVE-2025-58360?
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
How do I check if my project is affected by CVE-2025-58360?
CVE-2025-58360 affects org.geoserver:gs-wms and org.geoserver.web:gs-web-app. It has a 10.8% probability of exploitation within 30 days (EPSS score). This vulnerability is listed in CISA's Known Exploited Vulnerabilities (KEV) catalog, meaning it is being actively exploited in the wild. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-58360 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
10.80%
EPSS percentile: 96.6

This places it in the top 5% of EPSS-scored vulnerabilities — 96.6% of tracked vulnerabilities score at or below it, so it is far more likely to be exploited than nearly all other tracked vulnerabilities.

Known Exploited Vulnerability

This vulnerability is in CISA's Known Exploited Vulnerabilities (KEV) catalog, indicating active exploitation in the wild.

Added to KEV catalog: December 11, 2025

Remediation deadline: January 1, 2026

Also Known As

GHSA-fjf5-xgmq-5525

Related CVEs

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml