Skip to content

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

CriticalCVSS 9.1 EPSS 43.9% Scanner template
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

6 packages: 5 fixed.

PackageAffectedFixed inStatus
geotools < 28.6.1; = 33.0; >= 29.0, < 31.7; >= 32.0, < 32.3 28.6.1, 31.7, 32.3 Fixed
org.geoserver.web/gs-web-app(Maven) < 2.25.7; <= 2.25.6; = 2.27.0; >= 2.26.0, < 2.26.3 +2 more 2.25.7, 2.26.3, 2.27.1 Fixed
org.geoserver/gs-wfs(Maven) < 2.25.7; <= 2.25.6; = 2.27.0; >= 2.26.0, < 2.26.3 +2 more 2.25.7, 2.26.3, 2.27.1 Fixed
osgeo geonetwork >= 4.2.0, < 4.2.13; >= 4.4.0, < 4.4.8 4.2.13, 4.4.8 Fixed
osgeo geoserver < 2.25.7; = 2.27.0; >= 2.26.0, < 2.26.3 2.25.7, 2.26.3 Fixed
geoserver = < 2.25.7; = >= 2.26.0, < 2.26.3; = >= 2.27.0, < 2.27.1 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
org.geoserver.web/gs-web-app(Maven) >= 2.27.0, < 2.27.1 2.27.1
org.geoserver.web/gs-web-app(Maven) = 2.27.0 No fix listed
org.geoserver/gs-wfs(Maven) >= 2.27.0, < 2.27.1 2.27.1
org.geoserver/gs-wfs(Maven) = 2.27.0 No fix listed
org.geoserver.web/gs-web-app(Maven) >= 2.26.0, < 2.26.3 2.26.3
org.geoserver/gs-wfs(Maven) >= 2.26.0, < 2.26.3 2.26.3
org.geoserver.web/gs-web-app(Maven) < 2.25.7 2.25.7
org.geoserver/gs-wfs(Maven) < 2.25.7 2.25.7
org.geoserver.web/gs-web-app(Maven) >= 2.26.0, <= 2.26.2 No fix listed
org.geoserver/gs-wfs(Maven) >= 2.26.0, <= 2.26.2 No fix listed
org.geoserver.web/gs-web-app(Maven) <= 2.25.6 No fix listed
org.geoserver/gs-wfs(Maven) <= 2.25.6 No fix listed
geoserver = >= 2.27.0, < 2.27.1 No fix listed
geoserver = >= 2.26.0, < 2.26.3 No fix listed
geoserver = < 2.25.7 No fix listed
geotools < 28.6.1 28.6.1
geotools >= 29.0, < 31.7 31.7
geotools >= 32.0, < 32.3 32.3
geotools = 33.0 No fix listed
osgeo geonetwork >= 4.2.0, < 4.2.13 4.2.13
osgeo geonetwork >= 4.4.0, < 4.4.8 4.4.8
osgeo geoserver < 2.25.7 2.25.7
osgeo geoserver >= 2.26.0, < 2.26.3 2.26.3
osgeo geoserver = 2.27.0 No fix listed

References