GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling
Summary
GeoTools Schema class use of Eclipse XSD library to represent schema data structure is vulnerable to XML External Entity (XXE) exploit.
Impact
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.
Resolution
GeoTools API change allows EntityResolver to be supplied to the following methods:
Schemas.parse( location, locators, resolvers, uriHandlers, entityResolver);
Schemas.findSchemas(Configuration configuration, EntityResolver entityResolver);
With this API change the gt-wfs-ng WFS DataStore ENTITY_RESOLVER parameter is now used.
Reference
-
GHSA-jj54-8f66-c5pc: Describes the impact of the
gt-xsd-corevulnerability on the GeoServer WFS protocol, resulting in both Service Side Request Forgery (SSRF) and Out-of-Band (OOB) data exfiltration of local files. -
GHSA-2p76-gc46-5fvc: Describes the impact of the
gt-wfs-ngandgt-xsd-corevulnerability on the GeoNetwork WFS Index functionality.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.geotools:gt-wfs-ng | >= 33.0, < 33.1, >= 32.0, < 32.3, >= 29.0, < 31.7, < 28.6.1 | 33.1, 32.3, 31.7, 28.6.1 |
| Java / Kotlin (Maven) | org.geotools:gt-xsd-core | >= 33.0, < 33.1, >= 32.0, < 32.3, >= 29.0, < 31.7, < 28.6.1 | 33.1, 32.3, 31.7, 28.6.1 |
Verweise
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L- Schwäche (CWE)
CWE-611- Plattform
- Java / Kotlin (Maven)
- Paket
org.geotools:gt-wfs-ng, org.geotools:gt-xsd-core- Veröffentlicht
- 09.06.2025
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-826p-4gcg-35vw - CC BY 4.0
Schwachstellenhistorie: org.geotools:gt-wfs-ng
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.