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

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 43.9%, higher than 98% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-06-10T15:16:39.339Z
- Modified: 2026-11-30T19:11:06.747Z
- Also known as: GHSA-jj54-8f66-c5pc
- Weaknesses: CWE-611, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- geoserver geoserver: >= 2.27.0, < 2.27.1; >= 2.26.0, < 2.26.3; < 2.25.7
- org.geoserver.web:gs-web-app (Maven): from 2.27.0 before 2.27.1; from 2.26.0 before 2.26.3; before 2.25.7
- org.geoserver:gs-wfs (Maven): from 2.27.0 before 2.27.1; from 2.26.0 before 2.26.3; before 2.25.7
- osgeo geonetwork: from 4.2.0 before 4.2.13; from 4.4.0 before 4.4.8
- osgeo geoserver: before 2.25.7; from 2.26.0 before 2.26.3; 2.27.0
- osgeo geotools: before 28.6.1; from 29.0 before 31.7; from 32.0 before 32.3; 33.0

## Every score

- GitHub_M: CVSS:3.1 9.9 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H`

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc> (exploit, patch, third-party-advisory, web)
- <https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc> (patch, third-party-advisory, web)
- <https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw> (third-party-advisory, web)
- <https://github.com/geonetwork/core-geonetwork/pull/8757> (patch, web)
- <https://github.com/geonetwork/core-geonetwork/pull/8803> (patch, web)
- <https://github.com/geonetwork/core-geonetwork/pull/8812> (patch, web)
- <https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30220> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2025-30220](https://www.cve.org/CVERecord?id=CVE-2025-30220), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-jj54-8f66-c5pc](https://github.com/advisories/GHSA-jj54-8f66-c5pc), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2025-30220](https://nvd.nist.gov/vuln/detail/CVE-2025-30220), Public domain, modified 2026-11-30

---

Page: https://cve.day/CVE-2025-30220 · Whole record: https://cve.day/CVE-2025-30220.json · Rebuilt by cve.day 2026-11-30T19:17:13.237Z
