CVE-2025-30220

CRITICAL
Published Jun 10, 2025 Modified Aug 26, 2025 CWE-611 CWE-918

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.

CVSS v3.1 Score

9.9
CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L

Weakness Type (CWE)

CWE-611 CWE-611
CWE-918 Server-Side Request Forgery (SSRF)

Affected Products

Vendor Product
geotools geotools
geotools geotools
geotools geotools
geotools geotools
osgeo geonetwork
osgeo geonetwork
osgeo geoserver
osgeo geoserver
osgeo geoserver

References

Frequently Asked Questions

What is CVE-2025-30220? +
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. It has a CVSS v3.1 base score of 9.9 (CRITICAL).
How severe is CVE-2025-30220? +
CVE-2025-30220 has a CVSS v3.1 score of 9.9 out of 10, rated CRITICAL. This is a critical vulnerability that should be patched immediately.
What products are affected by CVE-2025-30220? +
CVE-2025-30220 affects products from geotools, osgeo, specifically: geonetwork, geoserver, geotools. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-30220? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-30220 — free, no signup required.

Start Free Scan