Loading...
Skip to main content

GHSA-826p-4gcg-35vw — Vulnerability in org.geotools:gt-wfs-ng —...

CRITICAL

GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling

Published June 9, 2025Updated February 4, 2026Source: osv

Summary

### 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: ```java 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](https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc): Describes the impact of the ``gt-xsd-core`` vulnerability 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](https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc): Describes the impact of the ``gt-wfs-ng`` and ``gt-xsd-core`` vulnerability on the GeoNetwork WFS Index functionality.

Advisory Timeline

  • First published June 9, 2025 (490 days ago).
  • Last revised February 4, 2026 — 239 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.geotools:gt-wfs-ng to 28.6.1 or later
<!-- Update pom.xml dependency version to 28.6.1 for org.geotools:gt-wfs-ng -->
Maven
Update org.geotools:gt-wfs-ng to 31.7 or later
<!-- Update pom.xml dependency version to 31.7 for org.geotools:gt-wfs-ng -->
Maven
Update org.geotools:gt-wfs-ng to 32.3 or later
<!-- Update pom.xml dependency version to 32.3 for org.geotools:gt-wfs-ng -->
Maven
Update org.geotools:gt-wfs-ng to 33.1 or later
<!-- Update pom.xml dependency version to 33.1 for org.geotools:gt-wfs-ng -->
Maven
Update org.geotools:gt-xsd-core to 28.6.1 or later
<!-- Update pom.xml dependency version to 28.6.1 for org.geotools:gt-xsd-core -->
Maven
Update org.geotools:gt-xsd-core to 31.7 or later
<!-- Update pom.xml dependency version to 31.7 for org.geotools:gt-xsd-core -->
Maven
Update org.geotools:gt-xsd-core to 32.3 or later
<!-- Update pom.xml dependency version to 32.3 for org.geotools:gt-xsd-core -->
Maven
Update org.geotools:gt-xsd-core to 33.1 or later
<!-- Update pom.xml dependency version to 33.1 for org.geotools:gt-xsd-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (8)

Affects 1 ecosystem: maven (2).

PackageEcosystemAffectedFixed In
org.geotools:gt-wfs-ng
maven
All versions28.6.1
org.geotools:gt-wfs-ng
maven
All versions31.7
org.geotools:gt-wfs-ng
maven
All versions32.3
org.geotools:gt-wfs-ng
maven
All versions33.1
org.geotools:gt-xsd-core
maven
All versions28.6.1
org.geotools:gt-xsd-core
maven
All versions31.7
org.geotools:gt-xsd-core
maven
All versions32.3
org.geotools:gt-xsd-core
maven
33.033.1

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

  • CWE-611
    XML External Entity (XXE)MITRE

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.9 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
Low
Availability
Low

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:L

Frequently Asked Questions

What is GHSA-826p-4gcg-35vw?
GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.9/10).
How do I check if my project is affected by GHSA-826p-4gcg-35vw?
GHSA-826p-4gcg-35vw affects org.geotools:gt-wfs-ng and org.geotools:gt-xsd-core. Use GeekWala's free vulnerability scanner to check your dependencies against GHSA-826p-4gcg-35vw and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.9

Exploitation is straightforward and causes maximum impact. Patch immediately.

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies