CVE-2025-58360 — Vulnerability in org.geoserver:gs-wms — CVE Details
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
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.
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
- https://osgeo-org.atlassian.net/browse/GEOS-11682
- XBOW-024-081
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.
<!-- Update pom.xml dependency version to 2.25.6 for org.geoserver:gs-wms -->
<!-- Update pom.xml dependency version to 2.26.2 for org.geoserver:gs-wms -->
<!-- Update pom.xml dependency version to 2.25.6 for org.geoserver.web:gs-web-app -->
<!-- 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).
| Package | Fixed In |
|---|---|
| org.geoserver:gs-wms Maven · Affected: All versions | 2.25.6 |
| org.geoserver:gs-wms Maven · Affected: All versions | 2.26.2 |
| org.geoserver.web:gs-web-app Maven · Affected: All versions | 2.25.6 |
| org.geoserver.web:gs-web-app Maven · Affected: All versions | 2.26.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-611XML External Entity (XXE)MITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-fjf5-xgmq-5525WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-58360ADVISORY
- https://github.com/geoserver/geoserverPACKAGE
- https://osgeo-org.atlassian.net/browse/GEOS-11682WEB
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-58360WEB
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
Significant impact if exploited, or exploitable with modest effort.
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.
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
Related CVEs
- CVE-2023-35042CRITICAL
GeoServer RCE due to improper control of generation of code in jai-ext`Jiffle` map algebra language
- CVE-2024-36401CRITICAL
Remote Code Execution (RCE) vulnerability in geoserver
- CVE-2023-25157CRITICAL
GeoServer OGC Filter SQL Injection Vulnerabilities
- CVE-2024-34711CRITICAL
GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)
- CVE-2025-30220HIGH
[XBOW-025-068] XML External Entity (XXE) Processing Vulnerability in GeoServer WFS Service
- CVE-2026-61689HIGH
XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes
- CVE-2026-107725HIGH
Hazelcast has an authorization bypass in IMap Predicates API