Vulnerabilities

CVE-2025-30220

Critical 9.1 CVSS 3.1

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

Related at Berigo

Articles

Does this affect you?

A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.

Check your asset list Browse all vulnerabilities