CVE-2025-30220 — Vulnerability in org.geoserver:gs-wfs — CVE Details
[XBOW-025-068] XML External Entity (XXE) Processing Vulnerability in GeoServer WFS Service
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (4.85%). Schedule for your next planned update.
Does your project use an affected org.geoserver:gs-wfs version?
Paste your pom.xml to check it for CVE-2025-30220 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
Summary
GeoServer Web Feature Service (WFS) web service was found to be vulnerable to GeoTools CVE-2025-30220 XML External Entity (XXE) processing attack.
It is possible to trigger the parsing of external DTDs and entities, bypassing standard entity resolvers. This allows for Out-of-Band (OOB) data exfiltration of local files accessible by the GeoServer process, and Service Side Request Forgery (SSRF).
Details
While direct entity resolution is managed by application property ENTITY_RESOLUTION_ALLOWLIST for XML Parsing, this restriction was not being used by the GeoTools library when building an in-memory XSD Library Schema representation.
This bypasses GeoServer's AllowListEntityResolver enabling XXE attacks.
PoC
No public PoC is provided but this vulnerability has been confirmed to be exploitable through WFS service.
Impact
-
Information Disclosure:
This vulnerability allows unauthenticated attackers to read arbitrary files from the server's filesystem that are accessible to the GeoServer process.
This can lead to exposure of sensitive information including configuration files, credentials, and system files. The attack can be performed remotely without authentication, making it particularly severe.
-
Server-Side Request Forgery (SSRF)
The mechanism inherently allows forcing GeoServer to make HTTP requests to arbitrary URLs, enabling SSRF attacks against internal network resources
References
- CVE-2025-30220 XML External Entity (XXE) Processing Vulnerability in XSD schema handling
- External Entities Resolution (GeoServer User Manual)
Acknowledgements
This vulnerability was initially reported via an automated tool described below. Subsequently a duplicate report via @YacineF, and their patience working with the GeoServer project, was instrumental finding in escalating this issue and determining a resolution.
XBOW-025-068 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 June 10, 2025 (534 days ago).
- Last revised February 4, 2026 — 238 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 2.27.1 for org.geoserver:gs-wfs -->
<!-- Update pom.xml dependency version to 2.25.7 for org.geoserver:gs-wfs -->
<!-- Update pom.xml dependency version to 2.26.3 for org.geoserver:gs-wfs -->
<!-- Update pom.xml dependency version to 2.27.1 for org.geoserver.web:gs-web-app -->
<!-- Update pom.xml dependency version to 2.25.7 for org.geoserver.web:gs-web-app -->
<!-- Update pom.xml dependency version to 2.26.3 for org.geoserver.web:gs-web-app -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (6)
Affects 1 ecosystem: Maven (2).
| Package | Fixed In |
|---|---|
| org.geoserver:gs-wfs Maven · Affected: 2.27.0 | 2.27.1 |
| org.geoserver:gs-wfs Maven · Affected: All versions | 2.25.7 |
| org.geoserver:gs-wfs Maven · Affected: All versions | 2.26.3 |
| org.geoserver.web:gs-web-app Maven · Affected: 2.27.0 | 2.27.1 |
| org.geoserver.web:gs-web-app Maven · Affected: All versions | 2.25.7 |
| org.geoserver.web:gs-web-app Maven · Affected: All versions | 2.26.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
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/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvcWEB
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pcWEB
- https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vwWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-30220ADVISORY
- https://github.com/geonetwork/core-geonetwork/pull/8757WEB
- https://github.com/geonetwork/core-geonetwork/pull/8803WEB
- https://github.com/geonetwork/core-geonetwork/pull/8812WEB
- https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entitiesWEB
- https://github.com/geoserver/geoserverPACKAGE
Frequently Asked Questions
- What is CVE-2025-30220?
- [XBOW-025-068] XML External Entity (XXE) Processing Vulnerability in GeoServer WFS Service. 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-30220?
- CVE-2025-30220 affects org.geoserver:gs-wfs and org.geoserver.web:gs-web-app. It has a 4.8% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-30220 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This places it in the top 10% of EPSS-scored vulnerabilities — 92.8% of tracked vulnerabilities score at or below it, so it is substantially more likely to be exploited than most tracked vulnerabilities.
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-58360HIGH
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
- 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