---
title: "GHSA-826p-4gcg-35vw: GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling"
url: https://erroneo.us/security/ghsa/GHSA-826p-4gcg-35vw/
description: "GHSA-826p-4gcg-35vw (critical, Maven): GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling. Summary GeoTools Schema class…"
type: advisory
section: "Security Digest"
date_published: 2025-06-09
date_modified: 2025-06-09
publisher: erroneo.us
author: erroneo.us Security Desk
ghsa: "GHSA-826p-4gcg-35vw"
license: All rights reserved. Quote with attribution and a link.
---

# GHSA-826p-4gcg-35vw: GeoTools has XML External Entity (XXE) Processing Vulnerability in XSD schema handling

## Affected packages

- Maven `org.geotools:gt-xsd-core` = 33.0 → fixed: 33.1
- Maven `org.geotools:gt-xsd-core` >= 32.0, < 32.3 → fixed: 32.3
- Maven `org.geotools:gt-xsd-core` >= 29.0, <= 31.6 → fixed: 31.7
- Maven `org.geotools:gt-wfs-ng` >= 33.0, < 33.1 → fixed: 33.1
- Maven `org.geotools:gt-wfs-ng` >= 32.0, < 32.3 → fixed: 32.3
- Maven `org.geotools:gt-wfs-ng` >= 29.0, <= 31.6 → fixed: 31.7
- Maven `org.geotools:gt-xsd-core` < 28.6.1 → fixed: 28.6.1
- Maven `org.geotools:gt-wfs-ng` < 28.6.1 → fixed: 28.6.1

## Details

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 ENTITYRESOLVER connection parameter was not being used as intended. Resolution GeoTools API change allows EntityResolver to be supplied to the following methods: With this API change the gt-wfs-ng WFS DataStore ENTITYRESOLVER parameter is now used. Reference 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: Describes the impact of the gt-wfs-ng and gt-xsd-core vulnerability on the GeoNetwork WFS Index functionality.

## Sources

- [GitHub Advisory GHSA-826p-4gcg-35vw](https://github.com/advisories/GHSA-826p-4gcg-35vw)
- [github.com](https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc)
- [github.com](https://github.com/geoserver/geoserver/security/advisories/GHSA-jj54-8f66-c5pc)
- [github.com](https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw)

---
Source page: https://erroneo.us/security/ghsa/GHSA-826p-4gcg-35vw/ · Security Digest: https://erroneo.us/security/ · More: https://erroneo.us/llms.txt
