Skip to content
OpenAdvisories
High · 8.2 GHSA-2p76-gc46-5fvc

GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint

Published Jun 10, 2025 · Updated Feb 4, 2026 · Assigned by GHSA

Description

### 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/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

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.geonetwork-opensource:gn-web-app >= 4.4.0, < 4.4.8 4.4.8 GHSA-2p76-gc46-5fvc
Maven org.geonetwork-opensource:gn-web-app >= 4.2.0, < 4.2.13 4.2.13 GHSA-2p76-gc46-5fvc
Maven org.geonetwork-opensource:gn-wfsfeature-harvester >= 4.4.0, < 4.4.8 4.4.8 GHSA-2p76-gc46-5fvc
Maven org.geonetwork-opensource:gn-wfsfeature-harvester >= 4.2.0, < 4.2.13 4.2.13 GHSA-2p76-gc46-5fvc

References