CVE-2025-30220
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-06-10
- Last modified
- 2026-06-17
- Assigned by
- security-advisories@github.com
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
53.7 %
higher than 99 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Geotools | Geotools | < 28.6.1 | Affected |
| Geotools | Geotools | 33.0 | Affected |
| Geotools | Geotools | ≥ 29.0, < 31.7 | Affected |
| Geotools | Geotools | ≥ 32.0, < 32.3 | Affected |
| org.geoserver | gs-wfs (Maven) | < 2.25.7 | Affected |
| org.geoserver | gs-wfs (Maven) | ≥ 2.26.0, < 2.26.3 | Affected |
| org.geoserver | gs-wfs (Maven) | ≥ 2.27.0, < 2.27.1 | Affected |
| org.geoserver.web | gs-web-app (Maven) | < 2.25.7 | Affected |
| org.geoserver.web | gs-web-app (Maven) | ≥ 2.26.0, < 2.26.3 | Affected |
| org.geoserver.web | gs-web-app (Maven) | ≥ 2.27.0, < 2.27.1 | Affected |
| Osgeo | Geonetwork | ≥ 4.2.0, < 4.2.13 | Affected |
| Osgeo | Geonetwork | ≥ 4.4.0, < 4.4.8 | Affected |
| Osgeo | Geoserver | < 2.25.7 | Affected |
| Osgeo | Geoserver | 2.27.0 | Affected |
| Osgeo | Geoserver | ≥ 2.26.0, < 2.26.3 | Affected |
Weakness type
-
CWE-611: Improper Restriction of XML External Entity Reference
The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.
-
CWE-918: Server-Side Request Forgery
The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.
References
- https://docs.geoserver.org/latest/en/user/production/config.html#production-config-extern…
- 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
Related at Berigo
Articles
-
Attacks on GeoServer began within hours of the flaw becoming public
Same product
2026-08-17
A GeoServer vulnerability was made public on X on 12 August 2026, before the project had a fix ready. watchTowr states that exploitation attempts beg…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.