Security Resilience

CVE-2025-30220

XXE in Geotools ≤ 28.6.1

Public PoCXXESSRF
Published
10 June 2025
Modified
17 June 2026
Patch / advisory
CVSS Score v3.1 9.9
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
EPSS Score 0.44 99th percentile
Risk Priority 91 floored blend · peak EPSS

CVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.

Summary

CVE-2025-30220 is a critical-severity Improper Restriction of XML External Entity Reference (CWE-611) vulnerability in Geotools. Its CVSS base score is 9.9 (Critical).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked in the top 1% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified map to AC-4 (Information Flow Enforcement) and CM-6 (Configuration Settings) — see the control section below for these in your framework.

Deeper analysis AI-assisted summary

Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.

GeoServer is an open source server for sharing and editing geospatial data, and the vulnerability resides in the GeoTools gt-xsd-core Schemas class that relies on the Eclipse XSD library to handle schema structures. When XML documents reference external schemas, the class fails to apply any configured EntityResolver from ParserHandler, allowing XML External Entity processing. The same flaw affects the gt-wfs-ng DataStore because its ENTITY_RESOLVER connection parameter is not honored. The issue impacts GeoServer, GeoTools, and GeoNetwork installations that expose XML parsing paths.

An unauthenticated remote attacker can supply a crafted XML document containing external entity references to trigger XXE or related SSRF behavior. Successful exploitation can yield high-impact outcomes including arbitrary file disclosure, internal network probing, or limited service disruption, consistent with the CVSS 9.9 rating that reflects network attack vector, no required credentials or user interaction, and changed scope.

Official fixes are available 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. GeoServer documentation recommends explicit configuration to disable external entity resolution, while GeoNetwork has published corresponding pull requests and a security advisory detailing the parameter-handling corrections.

The EPSS score stands at 0.1394 with no material increase from its recorded peak, indicating limited observed exploitation interest to date.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

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.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise Techniques

MITRE ATT&CK v20.0

T1090 Proxy Command And Control
Adversaries may use a connection proxy to direct network traffic between systems or act as an intermediary for network communications to a command and control server to avoid direct connections to their infrastructure.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1499 Endpoint Denial of Service Impact
Adversaries may perform Endpoint Denial of Service (DoS) attacks to degrade or block the availability of services to users.
T1528 Steal Application Access Token Credential Access
Adversaries can steal application access tokens as a means of acquiring credentials to access remote systems and resources.
T1552 Unsecured Credentials Credential Access
Adversaries may search compromised systems to find and obtain insecurely stored credentials.
T1499.004 Application or System Exploitation Impact
Adversaries may exploit software vulnerabilities that can cause an application or system to crash and deny availability to users.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-34711Shared CWE-611, CWE-918
CVE-2025-58175Shared CWE-611, CWE-918
CVE-2023-43795Shared CWE-918
CVE-2023-41339Shared CWE-918
CVE-2024-29198Shared CWE-918
CVE-2024-40625Shared CWE-918
CVE-2023-46502Shared CWE-611, CWE-918
CVE-2024-20531Shared CWE-611, CWE-918
CVE-2026-2252Shared CWE-611, CWE-918
CVE-2025-47293Shared CWE-611, CWE-918

Affected Assets

geotools
geotools
33.0 · ≤ 28.6.1 · 29.0 — 31.7 · 32.0 — 32.3
osgeo
geonetwork
4.2.0 — 4.2.13 · 4.4.0 — 4.4.8
osgeo
geoserver
2.27.0 · ≤ 2.25.7 · 2.26.0 — 2.26.3

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

—

Detect
Catch it (NIST detect / respond)

—

Harden
Shrink the surface (DISA STIG)

—

Validate
Prove the fix (OWASP ASVS)
  • V1.5.1
  • V15.3.2
  • V1.3.6
  • V1.5.3

Mitigating Controls (NIST 800-53 r5)

Our mappings, made for this CVE.

Information flow enforcement can restrict which destinations the server is allowed to contact on behalf of users.

Secure configuration settings can disable external entity processing in XML parsers.

Developer testing can discover XXE flaws through targeted XML parsing tests.

Input validation can reject or sanitize XML containing external entity references.

Boundary protection limits the network reach of server-initiated requests even if SSRF occurs.

Mitigating Controls (NIST CSF 2.0)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.

PR.PS-01 mostly match
blocks

Hardened XML parser configurations directly disable external entity resolution.

PR.PS-06 mostly match
blocks

Secure SDLC practices include input validation and safe XML parser configuration that prevent XXE.

DE.CM-09 partial match
blocks

Runtime monitoring of web applications and services can detect anomalous outbound requests indicative of SSRF.

ID.RA-01 partial match
blocks

Vulnerability scanning can discover XXE flaws but does not prevent their introduction in code.

PR.IR-01 partial match
blocks

Network segmentation and egress controls can limit the damage from successful SSRF requests.

PR.PS-02 partial match
blocks

Patching eliminates XXE-vulnerable parser versions but is only one aspect of software maintenance.

Mitigating Controls (ISO/IEC 27001:2022 Annex A)

Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.

finds

A.8.29's testing programme (code review, static analysis, vulnerability scanning, penetration testing, architecture review) covers every detection method CWE-918 rates High or Moderate, and the clause explicitly names code review for un-anticipated inputs and acceptance testing of acquired products, so no further act of finding is left over — the same logic the owner applied to A.8.29 finds CWE-89 = full.

finds

A.5.21 is a supply chain governance control whose penetration testing mention (item f) is scoped to validating supplier compliance with stated requirements, not to discovering SSRF in the organization's deployed estate; the control has no vulnerability-discovery mechanism that reaches deployed code where SSRF lives.

finds

A.5.22 monitors supplier service performance and reviews supplier reports and audit trails, but it does not perform the code analysis, dynamic testing, or penetration testing that would discover an SSRF vulnerability in the supplier's software.

prevents

Training developers about secure XML parsing practices (disabling external entity resolution, using safe parser configurations) reduces some instances of XXE, but the weakness is a specific implementation defect that requires technical knowledge to avoid, and developers remain fallible; the strongest control for this weakness is A.8.29 security testing, not training.

blocks

A.8.20's firewall and network filtering controls (items i, j, n) can block a meaningful portion of SSRF exploitation paths — particularly outbound connections to internal networks, cloud metadata endpoints, and disallowed protocols — but the application-layer URL validation defect remains and SSRF can still be exploited via external attacker-controlled destinations, DNS rebinding, and allowed internal services, leaving a nameable remainder.

blocks

A.8.21's network connection controls, egress restrictions and monitoring of network service use can block some SSRF exploitation (e.g., preventing the server from reaching internal services, cloud metadata endpoints, or arbitrary ports), but the application-level URL-fetching vulnerability remains and can still be exploited against any destination the network permits.

References