CVE-2025-30220
GeoTools, GeoServer, and GeoNetwork XML External Entity (XXE) Processing Vulnerability in XSD schema handling
Also known as GHSA-jj54-8f66-c5pc
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).
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
Vulnerability facts
- 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
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.9 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:LOpen in CVSS calculator
Show all 8 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
- EPSS
- 4.84% chance of exploitation in 30 days (percentile 93, 2026-11-26)
- CWE
- CWE-611, CWE-918
- 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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Maven org.geoserver.web:gs-web-app | >= 2.27.0, < 2.27.1 | 2.27.1, 2.26.3, 2.25.7 | osv |
| Maven org.geoserver:gs-wfs | >= 2.27.0, < 2.27.1 | 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 |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
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.
References
Vendor advisories
Patches
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.