CVE-2025-30220
CVE-2025-30220 is a critical-severity vulnerability in Geotools with a CVSS 3.x base score of 9.9. Its EPSS exploit-prediction score of 51% places it in the 99th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-611.
Key facts
- Severity: Critical (CVSS 3.x base score 9.9)
- EPSS exploit prediction: 51% (99th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-17683
- Weakness: CWE-611
- Affected product: Geotools
- Published:
- Last modified:
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.
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.
- How severe is CVE-2025-30220?
- CVE-2025-30220 has a CVSS 3.x base score of 9.9, rated critical severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity low, and availability low.
- Is CVE-2025-30220 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 51% (99th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-30220?
- CVE-2025-30220 primarily affects Geotools. In total, 5 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-30220?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its critical severity, prioritise patching exposed systems.
- Does CVE-2025-30220 have an EU (EUVD) identifier?
- Yes. CVE-2025-30220 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-17683.
- When was CVE-2025-30220 published?
- CVE-2025-30220 was published on 2025-06-10 and last updated on 2026-06-17.
References
- https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities
- https://github.com/geonetwork/core-geonetwork/pull/8757
- https://github.com/geonetwork/core-geonetwork/pull/8803
- https://github.com/geonetwork/core-geonetwork/pull/8812
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc
- https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc
- https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw
Affected products (5)
- cpe:2.3:a:geotools:geotools:*:*:*:*:*:*:*:*
- cpe:2.3:a:geotools:geotools:33.0:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:geonetwork:*:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
- cpe:2.3:a:osgeo:geoserver:2.27.0:*:*:*:*:*:*:*
More vulnerabilities in Geotools
- CVE-2024-36401 — Critical (CVSS 9.8): GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.22.6,…
- CVE-2023-25158 — Critical (CVSS 9.8): GeoTools is an open source Java library that provides tools for geospatial data. GeoTools includes support for OGC…
- CVE-2022-24818 — High (CVSS 8.2): GeoTools is an open source Java library that provides tools for geospatial data. The GeoTools library has a number of…
Other CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities
- CVE-2022-22486 — Critical (CVSS 10.0): IBM Tivoli Workload Scheduler 9.4, 9.5, and 10.1 is vulnerable to an XML External Entity Injection (XXE) attack when…
- CVE-2019-14678 — Critical (CVSS 10.0): SAS XML Mapper 9.45 has an XML External Entity (XXE) vulnerability that can be leveraged by malicious attackers in…
- CVE-2015-9280 — Critical (CVSS 10.0): MailEnable before 8.60 allows XXE via an XML document in the request.aspx Options parameter.
- CVE-2018-1000838 — Critical (CVSS 10.0): autopsy version <= 4.9.0 contains a XML External Entity (XXE) vulnerability in CaseMetadata XML Parser that can result…
- CVE-2018-1000837 — Critical (CVSS 10.0): UML Designer version <= 8.0.0 contains a XML External Entity (XXE) vulnerability in XML parser for plugins that can…
- CVE-2018-1000835 — Critical (CVSS 10.0): KeePassDX version <= 2.5.0.0beta17 contains a XML External Entity (XXE) vulnerability in kdbx file parser that can…
Browse all CWE-611 (Improper Restriction of XML External Entity Reference (XXE)) vulnerabilities →