GitHub Advisoryadvisory · Maven
GHSA-2p76-gc46-5fvc GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint
HIGH
Official page ↗
- Ecosystem
- Maven
- Packages
- org.geonetwork-opensource:gn-web-app, org.geonetwork-opensource:gn-wfsfeature-harvester
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
- Weaknesses
- CWE-611, CWE-918
- Reviewed
- 2025-06-10
Affected packages
• Maven org.geonetwork-opensource:gn-web-app: >= 4.4.0, < 4.4.8 → fixed in 4.4.8
• Maven org.geonetwork-opensource:gn-web-app: >= 4.2.0, < 4.2.13 → fixed in 4.2.13
• Maven org.geonetwork-opensource:gn-wfsfeature-harvester: >= 4.4.0, < 4.4.8 → fixed in 4.4.8
• Maven org.geonetwork-opensource:gn-wfsfeature-harvester: >= 4.2.0, < 4.2.13 → fixed in 4.2.13
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/geonetwork/core-geonetwork/pull/8757
• https://github.com/geonetwork/core-geonetwork/pull/8803
• https://github.com/geonetwork/core-geonetwork/pull/8812
Related
References
- https://github.com/geonetwork/core-geonetwork/security/advisories/GHSA-2p76-gc46-5fvc web
- https://github.com/geotools/geotools/security/advisories/GHSA-826p-4gcg-35vw web
- https://github.com/geonetwork/core-geonetwork/pull/8757 web
- https://github.com/geonetwork/core-geonetwork/pull/8803 web
- https://github.com/geonetwork/core-geonetwork/pull/8812 web
- https://github.com/geonetwork/core-geonetwork package