CVE-2025-58360 — gs-web-app
HIGHCVE-2025-58360 is a high-severity (CVSS 8.2) XML External Entity (XXE) vulnerability in org.geoserver.web:gs-web-app. It is in CISA's Known Exploited Vulnerabilities catalog (added 2025-12-11) — treat it as actively exploited and patch now. A fix is available for org.geoserver.web:gs-web-app — see the affected versions and patch details below.
GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2025-12-11. Federal agencies were required to remediate by 2026-01-01.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2025-58360.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2025-58360 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 395,249 CVEs with a current EPSS score, this one falls in the 50–90% band (highlighted). Counts from FIRST.org, log-scaled.
Real-World Exposure
org.geoserver.web:gs-web-app☕org.geoserver:gs-wms☕org.geoserver.web:gs-web-app☕org.geoserver:gs-wmsReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.geoserver.web:gs-web-app | ≥ 2.26.0&&< 2.26.2 | 2.26.2org.geoserver.web:gs-web-app:2.26.2 |
| ☕Maven | org.geoserver:gs-wms | ≥ 2.26.0&&< 2.26.2 | 2.26.2org.geoserver:gs-wms:2.26.2 |
| ☕Maven | org.geoserver.web:gs-web-app | all versions | 2.25.6org.geoserver.web:gs-web-app:2.25.6 |
| ☕Maven | org.geoserver:gs-wms | all versions | 2.25.6org.geoserver:gs-wms:2.25.6 |
Affected Products
geoservergeoserverResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.geoserver.web:gs-web-app, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.geoserver.web:gs-web-app to 2.26.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2025-58360 is resolved across your whole dependency graph.
Workarounds
Restrict outbound requests from the affected component to an allowlist of hosts, block access to link-local and internal address ranges at the network layer, and require authentication on internal services so a forged request cannot reach them unauthenticated.
How to detect CVE-2025-58360
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2025-58360 -u https://target- Template
- GeoServer - XML External Entity Injection
- Severity
- high
- Impact
- Attackers can disclose sensitive files or cause denial of service by exploiting XML external entity processing.
- Remediation
- Update to GeoServer 2.25.6, 2.26.3, 2.27.0 or later.
Template by ProjectDiscovery nuclei-templates (lbb, xbow, darses), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2025-58360 in your dependencies?
Find it across Maven, including transitive dependencies.