CVE-2025-30220
GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling
Description
GeoServer is an open source server that allows users to share and edit geospatial data. GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit. This impacts whoever exposes XML processing with gt-xsd-core involved in parsing, when the documents carry a reference to an external XML schema. The gt-xsd-core Schemas class is not using the EntityResolver provided by the ParserHandler (if any was configured). This also impacts users of gt-wfs-ng DataStore where the ENTITY_RESOLVER connection parameter was not being used as intended. This vulnerability is fixed in GeoTools 33.1, 32.3, 31.7, and 28.6.1, GeoServer 2.27.1, 2.26.3, and 2.25.7, and GeoNetwork 4.4.8 and 4.2.13.
In plain language
AI Act nowGeoServer, GeoTools, and GeoNetwork can be tricked into reading “external” XML schema files, which may let an attacker steal information without logging in—most small businesses using these products should treat this as urgent and upgrade.
Unauthenticated XXE (CWE-611/CWE-918) in GeoTools/GeoServer/GeoNetwork XML schema handling allows attackers to supply crafted XML that references external schemas; the products may resolve and process those external entities during parsing (via gt-xsd-core/XSD handling), leading to sensitive data disclosure.
What to do now
- Identify whether you run affected software and note the exact installed versions of GeoServer, GeoTools (if embedded in your app), and GeoNetwork.
- If you have GeoServer (or modules named gs-web-app / gs-wfs), upgrade them to at least version 2.27.1.
- If you have GeoServer older branches, upgrade to the fixed versions matching your line: GeoServer 2.25.7 or 2.26.3 (depending on what you’re running and what your upgrade path allows).
- If you use GeoTools, upgrade it to at least version 28.6.1.
- If you run GeoNetwork, upgrade it to at least version 4.2.13.
CVSS Vector Breakdown
AV:NAttack VectorAC:LAttack ComplexityPR:NPrivileges RequiredUI:NUser InteractionS:CScopeC:HConfidentialityI:LIntegrityA:LAvailabilityWeaknesses
Affected Products
Exploitability
Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.
View exploit detailsAttack Graph
Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/⌘ + scroll to zoom, or go fullscreen.
MITRE ATT&CK
3 techniquesReferences
Unlock Complete Vulnerability Intelligence
Get the full picture for CVE-2025-30220 and every CVE in our database. Create a free account — no credit card required.
Create Free Account