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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** CRITICAL 9.9
- **CVSS:** 9.9 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: Low; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 4.84% (percentile 93, 2026-11-26)
- **CWE:** CWE-611, CWE-918
- **Aliases:** GHSA-jj54-8f66-c5pc
- **Published:** 2025-06-10T15:16:39.339Z
- **Modified:** 2026-06-17T09:08:22.870Z

## Who should check

- Projects that depend on Maven package org.geoserver.web:gs-web-app (\>= 2.27.0, \< 2.27.1)
- Projects that depend on Maven package org.geoserver:gs-wfs (\>= 2.27.0, \< 2.27.1)
- Anyone running geoserver \>= 2.27.0, \< 2.27.1; \>= 2.26.0, \< 2.26.3; \< 2.25.7

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

## Affected and fixed versions

- Maven `org.geoserver.web:gs-web-app`: affected \>= 2.27.0, \< 2.27.1; fixed 2.27.1, 2.26.3, 2.25.7 (osv)
- Maven `org.geoserver:gs-wfs`: affected \>= 2.27.0, \< 2.27.1; fixed 2.27.1, 2.26.3, 2.25.7 (osv)
- geoserver: \>= 2.27.0, \< 2.27.1; \>= 2.26.0, \< 2.26.3; \< 2.25.7 (cvelist)

## Mitigation

- Upgrade org.geoserver.web:gs-web-app to one of 2.27.1, 2.26.3, 2.25.7 (or later in the same release line).
- Upgrade org.geoserver:gs-wfs to one of 2.27.1, 2.26.3, 2.25.7 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-30220. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-30220.md
Affected: org.geoserver.web:gs-web-app >= 2.27.0, < 2.27.1; org.geoserver:gs-wfs >= 2.27.0, < 2.27.1
Fixed in: 2.27.1, 2.26.3, 2.25.7

Steps:
1. Search this machine and project for org.geoserver.web:gs-web-app (Maven), org.geoserver:gs-wfs (Maven), geoserver: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-30220 being exploited?

There is no confirmed exploitation: CVE-2025-30220 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 4.84% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-30220?

Critical: CVSS 9.9 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-30220?

org.geoserver.web:gs-web-app \>= 2.27.0, \< 2.27.1; org.geoserver:gs-wfs \>= 2.27.0, \< 2.27.1.

### Is there a fix for CVE-2025-30220?

Yes. Fixed in 2.27.1, 2.26.3, 2.25.7. Upgrade org.geoserver.web:gs-web-app to one of 2.27.1, 2.26.3, 2.25.7 (or later in the same release line). Upgrade org.geoserver:gs-wfs to one of 2.27.1, 2.26.3, 2.25.7 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-30220?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-30220>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-jj54-8f66-c5pc> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-30220> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-30220>
