CVE Tools

CVE-2025-30220

GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling

Published: Jun 10, 2025Updated: Aug 26, 2025 Sources: CVE List NVD GHSA BDUCWE-611

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 now

GeoServer, 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.

Executive summary

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.

If affected, business impact
Sensitive system data disclosureLeaked configuration or documentsPotential service disruptionBreach risk from internet scanning

What to do now

  1. Identify whether you run affected software and note the exact installed versions of GeoServer, GeoTools (if embedded in your app), and GeoNetwork.
  2. If you have GeoServer (or modules named gs-web-app / gs-wfs), upgrade them to at least version 2.27.1.
  3. 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).
  4. If you use GeoTools, upgrade it to at least version 28.6.1.
  5. If you run GeoNetwork, upgrade it to at least version 4.2.13.
Patch / advisory Usually a quick update

CVSS Vector Breakdown

AV:NAC:LPR:NUI:NS:CC:HI:LA:L
Exploitability
AV:NAttack Vector
Network
AC:LAttack Complexity
Low
PR:NPrivileges Required
None
UI:NUser Interaction
None
Scope
S:CScope
Changed
Impact
C:HConfidentiality
High
I:LIntegrity
Low
A:LAvailability
Low

Weaknesses

Affected Products

Exploitability

1 exploit source identified

Exploit details including PoC links, Metasploit modules, and scanner templates are available after registration.

View exploit details
Official Patch Available

Attack Graph

Products CVE Techniques Tactics

Click technique nodes for MITRE ATT&CK details · drag to pan · Ctrl/ + scroll to zoom, or go fullscreen.

MITRE ATT&CK

3 techniques
Collection
Command and Control
Initial Access
View detailed technique mapping

References

and 6 more references View all →

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
Plain-language analysis
Impact assessment and exploitation scenario in plain English
Attack graph visualization
Interactive attack path and kill chain mapping
Exploit details & PoC links
ExploitDB, Metasploit, GitHub PoCs with direct links
Nuclei scanner templates
Ready-to-use vulnerability scanner templates
Full remediation guide
Patch instructions, workarounds, and compliance impact
Interactive AI chat
Ask questions about this vulnerability in natural language
Related vulnerabilities
Semantically similar CVEs and attack patterns
REST API & MCP access
Integrate vulnerability data into your workflows