ID:12217 - Exploit for XML External Entity injection in geoserver - CVE-2025-58360

 
Main Vulnerability Database Exploits ID:12217 - Exploit for XML External Entity injection in geoserver - CVE-2025-58360

ID:12217 - Exploit for XML External Entity injection in geoserver - CVE-2025-58360

Published: December 30, 2025


Vulnerability identifier: #VU118765
Vulnerability risk: High
CVE-ID: CVE-2025-58360
CWE-ID: CWE-611
Exploitation vector: Remote access
Vulnerable software:
geoserver

Link to public exploit:


Vulnerability description

The vulnerability allows a remote attacker to gain access to sensitive information.

The vulnerability exists due to insufficient validation of user-supplied XML input passed through a specific operation GetMap at the /geoserver/wms endpoint. A remote non-authenticated attacker can pass a specially crafted XML code to the affected application and view contents of arbitrary files on the system or initiate requests to external systems.

Successful exploitation of the vulnerability may allow an attacker to view contents of arbitrary file on the server or perform network scanning of internal and external infrastructure.


Remediation

Install updates from vendor's website.