XML External Entity injection in GeoServer - CVE-2025-30220

 

XML External Entity injection in GeoServer - CVE-2025-30220

Published: May 5, 2026


Vulnerability identifier: #VU129764
CSH Severity: High
CVSS v4: 8.8 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2025-30220
CWE-ID: CWE-611
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to disclose sensitive information and perform server-side request forgery.

The vulnerability exists due to improper restriction of xml external entity reference in the WFS service XSD schema handling when parsing XML requests. A remote attacker can send a specially crafted XML request to disclose sensitive information and perform server-side request forgery.

The issue bypasses the standard entity resolver and can trigger parsing of external DTDs and entities.


Affected software

GeoServer

How to mitigate CVE-2025-30220

Install security update from vendor's website.

GeoServer - addressed in versions 2.25.7, 2.26.3, 2.27.1

External References

Related Security Bulletins