CVEfocus › CVE database › CVE-2025-30220

CVE-2025-30220GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability…

CVSS 9.9 CriticalEPSS 4.8% (higher than 93% of CVEs)Published 2025-06-10Updated 2025-06-10Assigner: GitHub_M

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.

CWE-611CWE-918

What to do

Fixed builds are available from Maven: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

6Fixed

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Maven libraryorg.geonetwork-opensource:gn-web-appFixed4.2.13GHSA-2p76-gc46-5fvc
Maven libraryorg.geonetwork-opensource:gn-wfsfeature-harvesterFixed4.2.13GHSA-2p76-gc46-5fvc
Maven libraryorg.geoserver.web:gs-web-appFixed2.25.7GHSA-jj54-8f66-c5pc
Maven libraryorg.geoserver:gs-wfsFixed2.26.3GHSA-jj54-8f66-c5pc
Maven libraryorg.geotools:gt-wfs-ngFixed31.7GHSA-826p-4gcg-35vw
Maven libraryorg.geotools:gt-xsd-coreFixed31.7GHSA-826p-4gcg-35vw

What the vendor says

As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.