GHSA-2p76-gc46-5fvc: GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint
Impact GeoNetwork WFS Index functionality is affected by GeoTools XML External Entity (XXE) vulnerability during schema validation. This vulnerability is particularly severe as the REST API endpoint was not secured, potentially allowing unauthenticated attackers to read sensitive files Patches GeoNetwork 4.4.8 / 4.2.13.
Published Jun 10, 2025
Affected packages
org.geonetwork-opensource:gn-web-app
- Ecosystem
- Maven
- Affected
- >= 4.4.0, <= 4.4.7
- Fixed in
- 4.4.8
- Check
mvn dependency:tree -Dincludes=org.geonetwork-opensource:gn-web-app
org.geonetwork-opensource:gn-web-app
- Ecosystem
- Maven
- Affected
- >= 4.2.0, <= 4.2.12
- Fixed in
- 4.2.13
- Check
mvn dependency:tree -Dincludes=org.geonetwork-opensource:gn-web-app
org.geonetwork-opensource:gn-wfsfeature-harvester
- Ecosystem
- Maven
- Affected
- >= 4.4.0, <= 4.4.7
- Fixed in
- 4.4.8
- Check
mvn dependency:tree -Dincludes=org.geonetwork-opensource:gn-wfsfeature-harvester
org.geonetwork-opensource:gn-wfsfeature-harvester
- Ecosystem
- Maven
- Affected
- >= 4.2.0, <= 4.2.12
- Fixed in
- 4.2.13
- Check
mvn dependency:tree -Dincludes=org.geonetwork-opensource:gn-wfsfeature-harvester
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Impact
GeoNetwork WFS Index functionality is affected by GeoTools XML External Entity (XXE) vulnerability during schema validation.
This vulnerability is particularly severe as the REST API endpoint was not secured, potentially allowing unauthenticated attackers to read sensitive files
Patches
GeoNetwork 4.4.8 / 4.2.13.
Workarounds
Remove the `gn-wfsfeature-harvester and gn-camelPeriodicProducer` jars, disabling the WFS Index functionality.
References
- GHSA-826p-4gcg-35vw
- https://github.com/geonetwork/core-geonetwork/pull/8757
- https://github.com/geonetwork/core-geonetwork/pull/8803
- https://github.com/geonetwork/core-geonetwork/pull/8812
Credited to jodygarnett, josegar74.
References
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc
- https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw
- https://github.com/geonetwork/core-geonetwork/pull/8757
- https://github.com/geonetwork/core-geonetwork/pull/8803
- https://github.com/geonetwork/core-geonetwork/pull/8812
- https://github.com/advisories/GHSA-2p76-gc46-5fvc
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
