Patchfirst
CVE-2025-30220 Public exploit Critical · 9.9 EPSS 42.3%

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

geoserver · geoserver

Summary

The XML External Entity (XXE) flaw lives in GeoTools' gt-xsd-core component, which GeoServer and GeoNetwork use for XML schema parsing: the Schemas class ignores the EntityResolver supplied by the parser handler, and the gt-wfs-ng DataStore does not honour its ENTITY_RESOLVER connection parameter. An attacker who can send network requests to an exposed XML-processing endpoint with a document that references an external schema can cause the server to resolve attacker-chosen external entities, with no authentication or user interaction required.

Official description · CVE.org

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.

Breakdown
66.7 / 100
Exploited
Yes, in VulnCheck KEV
Reports
0
Tactics
0/15

First seen exploited 42 days after disclosure.

  1. Disclosedday 0
  2. First seen exploitedVulnCheck KEV evidence+42 days

4 fixes in gs-wfs over 24 months. The latest fix listed for gs-wfs is 2.27.1.

Fixes in gs-wfsMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2.20.4CVE-2023-3504212 Jun 2023
  2. 2.25.2CVE-2024-364011 Jul 2024KEV
  3. 2.25.2CVE-2024-2919810 Jun 2025
  4. 2.27.1CVE-2025-3022010 Jun 2025Latest listed

techniques

No techniques linked

No ATT&CK techniques are linked to this CVE yet. MITRE CTID has not mapped it, and no report passage in the corpus ties it to a technique.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.geoserver.web:gs-web-app
    Affected: 2.27.0 up to 2.27.1; 2.26.0 up to 2.26.3; All versions before 2.25.7Upgrade to 2.27.1 or later (older lines: 2.26.3, 2.25.7)
  • Mavenorg.geoserver:gs-wfs
    Affected: 2.27.0 up to 2.27.1; 2.26.0 up to 2.26.3; All versions before 2.25.7Upgrade to 2.27.1 or later (older lines: 2.26.3, 2.25.7)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

References

7 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close