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

- Priority: **Prioritise**
- Reason: Public exploit (GitHub, Date unknown)
- Next step: Check applicability and the vendor advisory: no fix release is recorded here
- Status: published
- Published: 2025-06-10 · Modified: 2025-06-10
- Aliases: GHSA-jj54-8f66-c5pc
- Record: https://cvemate.com/vulnerability/CVE-2025-30220 · JSON: https://cvemate.com/vulnerability/CVE-2025-30220/json

## Description

```text
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.
```

## Signals

- CVSS: 9.9 critical (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L
- EPSS: 43.913%, percentile 98.78%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

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

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc>
- <https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc>
- <https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw>
- <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://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-30220>
- <https://github.com/geoserver/geoserver>

---

Data as of 2026-12-05T10:02:31.992Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
