Vulnerability · Published Jun 10, 2025 · Assigned by GitHub_M

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

Critical 9.9

In plain English

A critical-severity XML external entity in geoserver from geoserver. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 43.6% (higher than 99% of all known vulnerabilities). Ready-made attack tooling exists: Nuclei. Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)9.9Critical
Exploit odds (30 days)43.6%top 1.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack tooling1Nuclei

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Mavenorg.geoserver.web:gs-web-app2.27.1GHSA-jj54-8f66-c5pc
Mavenorg.geoserver.web:gs-web-app2.26.3GHSA-jj54-8f66-c5pc
Mavenorg.geoserver.web:gs-web-app2.25.7GHSA-jj54-8f66-c5pc
Mavenorg.geoserver:gs-wfs2.27.1GHSA-jj54-8f66-c5pc
Mavenorg.geoserver:gs-wfs2.26.3GHSA-jj54-8f66-c5pc
Mavenorg.geoserver:gs-wfs2.25.7GHSA-jj54-8f66-c5pc

Affected products (as reported)

VendorProductVersions
geoserver geoserver >= 2.27.0, < 2.27.1>= 2.26.0, < 2.26.3< 2.25.7

Weakness: CWE-611, CWE-918 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L

References