GitHub Advisoryadvisory · Maven

GHSA-2p76-gc46-5fvc GeoNetwork affected by XML External Entity (XXE) processing vulnerability in WFS indexing REST API endpoint

HIGH Published 2025-06-10 Modified 2025-06-10 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

Weakness · CWE (2)

  • CWE-611 Improper Restriction of XML External Entity Reference weakness
  • CWE-918 Server-Side Request Forgery weakness

References