CVE-2025-30220 Details
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.
A vulnerability allowing XML External Entity (XXE) processing attacks has been identified in GeoServer and GeoNetwork. This issue arises from the GeoTools library's handling of external XML schemas, which can be exploited to read arbitrary files from the server or perform Server-Side Request Forgery (SSRF) attacks. The vulnerability affects GeoServer versions 2.27.0, 2.26.0 through 2.26.2, and 2.25.6, as well as GeoNetwork versions 4.4.0 through 4.4.7 and 4.2.0 through 4.2.12.
Users can update to GeoServer versions 2.27.1, 2.26.3, or 2.25.7, and GeoNetwork versions 4.4.8 or 4.2.13. For GeoNetwork, WFS Index functionality can be disabled by removing the 'gn-wfsfeature-harvester' and 'gn-camelPeriodicProducer' jars.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Jun 10, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-611 | Improper Restriction of XML External Entity Reference | [email protected] |
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| geotools geotools | < 28.6.1 >= 29.0, < 31.7 >= 32.0, < 32.3 33.0 |
CPE
Remediation
| |
| osgeo geonetwork | >= 4.2.0, < 4.2.13 >= 4.4.0, < 4.4.8 |
CPE
Remediation
| |
| osgeo geoserver | < 2.25.7 >= 2.26.0, < 2.26.3 2.27.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 26, 2025 | Initial Analysis | [email protected] |
| Jun 10, 2025 | New CVE Received | [email protected] |