XXE in GeoServer WFS GeoTools Schema Processing
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.
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
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.
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.
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.
No public exploits tracked yet. Mallory keeps watching.
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
9 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.