Vulnerability DatabaseGHSA-2p76-gc46-5fvc

GHSA-2p76-gc46-5fvc
Java vulnerability analysis and mitigation

Overview

GeoServer's GeoTools Schema class, which uses Eclipse XSD library for schema data structure representation, is vulnerable to XML External Entity (XXE) exploitation (CVE-2025-30220). The vulnerability affects GeoNetwork versions 4.4.0 through 4.4.7 and 4.2.0 through 4.2.12, particularly impacting the WFS Index functionality during schema validation. This security issue was discovered and disclosed in June 2025, affecting multiple components including GeoTools, GeoServer, and GeoNetwork (GitHub Advisory).

Technical details

The vulnerability stems from the gt-xsd-core Schemas class not utilizing the EntityResolver provided by the ParserHandler. Additionally, the gt-wfs-ng DataStore's ENTITY_RESOLVER connection parameter was not being used as intended. The vulnerability has received a CVSS v3.1 base score of 8.2, with attack vector: Network, attack complexity: Low, privileges required: None, user interaction: None, scope: Unchanged, confidentiality: High, integrity: None, and availability: Low (GeoTools Advisory).

Impact

The vulnerability is particularly severe as the REST API endpoint was not secured, potentially allowing unauthenticated attackers to read sensitive files. This impacts any system exposing XML processing with gt-xsd-core involved in parsing, especially when documents carry a reference to an external XML schema (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in GeoNetwork versions 4.4.8 and 4.2.13. For users unable to update immediately, a workaround is available by removing the gn-wfsfeature-harvester and gn-camelPeriodicProducer jars, which will disable the WFS Index functionality. The fix includes API changes allowing EntityResolver to be supplied to specific methods in the Schemas class (GitHub Advisory).

Additional resources


SourceThis report was generated using AI

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

“Best User Experience I have ever seen, provides full visibility to cloud workloads.”
David EstlickCISO
“Wiz provides a single pane of glass to see what is going on in our cloud environments.”
Adam FletcherChief Security Officer
“We know that if Wiz identifies something as critical, it actually is.”
Greg PoniatowskiHead of Threat and Vulnerability Management