GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint
Date: 2025-06
Affected: maven/org.geonetwork-opensource:gn-wfsfeature-harvester, maven/org.geonetwork-opensource:gn-wfsfeature-harvester, maven/org.geonetwork-opensource:gn-web-app
Attack vector: ssrf
Category: vulnerability-disclosure
Severity: Critical
CVE: CVE-2025-30220
CWE: CWE-611
CWE-918
CVSS: 8.2 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L)

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


Mitigations:

Architectural layers (MAESTRO):