CVE-2025-30220: XXE in GeoServer WFS GeoTools Schema Processing
- Vendors
- OsgeoGeotools
CVE-2025-30220 is an XML External Entity (XXE) vulnerability in GeoServer Web Feature Service (WFS) XML processing. GeoTools' gt-xsd-core Schemas class uses the Eclipse XSD library for schema representation but does not use the EntityResolver configured through ParserHandler when processing documents that reference external XML schemas. Consequently, entity-resolution restrictions, including the intended GeoServer allowlist control in the affected processing path, can be bypassed. The issue also affects gt-wfs-ng DataStore deployments where the ENTITY_RESOLVER connection parameter was expected to control entity resolution.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Unauthenticated remote attackers can submit malicious XML containing external entities or DTD references to exfiltrate files accessible to the GeoServer process and cause server-side requests to arbitrary URLs. This can expose sensitive application data, credentials, configuration, and internal network resources through SSRF.
Mitigation
If you can’t patch tonight, do this now.
Apply the fixed releases as soon as possible because the affected code path bypasses GeoServer's entity-resolution allowlist protections. Until patching is complete, restrict network exposure to WFS endpoints, limit access to trusted users and networks, and disable unauthenticated access to XML-based services where operationally feasible. Monitor for unusual, large, or complex WFS XML requests and for server-side network activity indicative of SSRF.
Remediation
Patch, then assume compromise.
Upgrade GeoServer to 2.27.1, 2.26.3, or 2.25.7 or a later fixed release in the applicable supported branch. Fixed GeoTools releases are 33.1, 32.3, 31.7, and 28.6.1; fixed GeoNetwork releases are 4.4.8 and 4.2.13.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2025-30220 exploited in the wild?
- Yes. As of Sep 30, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2025-30220?
- Yes. As of Sep 30, 2026, Mallory has reports of a public exploit for CVE-2025-30220.
- Is there a patch for CVE-2025-30220?
- Upgrade GeoServer to 2.27.1, 2.26.3, or 2.25.7 or a later fixed release in the applicable supported branch. Fixed GeoTools releases are 33.1, 32.3, 31.7, and 28.6.1; fixed GeoNetwork releases are 4.4.8 and 4.2.13.
- What products are affected by CVE-2025-30220?
- Geotools, Osgeo Geoserver, and Osgeo Geonetwork.
- How severe is CVE-2025-30220?
- CVE-2025-30220 has a CVSS v3.1 score of 9.1 (Critical) and an EPSS score of 43.9% (99th percentile) as of Sep 30, 2026.
Recent activity
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.