OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability. Actively exploited: CISA added this vulnerability to its Known Exploited Vulnerabilities catalog on 11/12/2025. Patch affected systems as an emergency.
| Package | Affected versions | Patched versions |
|---|---|---|
| org.geoserver.web:gs-web-app | ≥ 2.26.0, < 2.26.2< 2.25.6 | 2.26.22.25.6 |
| org.geoserver:gs-wms | ≥ 2.26.0, < 2.26.2< 2.25.6 | 2.26.22.25.6 |
| geoserver | ≥ 2.26.0, < 2.26.2< 2.25.6 | 2.26.22.25.6 |
An XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request.
An XML External Entity attack is a type of attack that occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure of confidential data, denial of service, port scanning from the perspective of the machine where the parser is located, and other system impacts.
By exploiting this vulnerability, an attacker can:
Update to GeoServer 2.25.6, GeoServer 2.26.3, or GeoServer 2.27.0.
The XXE vulnerability can be used to retrieve arbitrary files from the server's file system.
This vulnerability was detected using XBOW, a system that autonomously finds and exploits potential security vulnerabilities. The finding has been thoroughly reviewed and validated by a security researcher before submission. While XBOW is intended to work autonomously, during its development human experts ensure the accuracy and relevance of its reports.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free