CVE-2024-34711 GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)
Attackers can exploit improper URI validation in GeoServer's XML processing to perform SSRF attacks, scanning internal networks and accessing sensitive information.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-34711?
CVE-2024-34711 is a critical server-side request forgery vulnerability in geoserver, published on 10 Jun 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
GeoServer is an open source server that allows users to share and edit geospatial data. An improper URI validation vulnerability exists that enables an unauthorized attacker to perform XML External Entities (XEE) attack, then send GET request to any HTTP server. By default, GeoServer use PreventLocalEntityResolver class from GeoTools to filter out malicious URIs in XML entities before resolving them. The URI must match the regex (?i)(jar:file|http|vfs)[^?#;]*\\.xsd. But the regex leaves a chance for attackers to request to any HTTP server or limited file. Attacker can abuse this to scan internal networks and gain information about them then exploit further. GeoServer 2.25.0 and greater default to the use of ENTITY_RESOLUTION_ALLOWLIST and does not require you to provide a system property.
Which versions are affected by CVE-2024-34711?
4 open source packages ship an affected version, including org.geoserver.main:gs-main and org.geoserver.web:gs-web-app. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.geoserver.main:gs-main Maven | All versions | 2.25.0 |
org.geoserver.main:gs-main Maven | All versions | 2.25.0 |
org.geoserver.web:gs-web-app Maven | All versions | 2.25.0 |
org.geoserver.web:gs-web-app Maven | All versions | 2.25.0 |
Products include Osgeo Geoserver.
How do I fix CVE-2024-34711?
Upgrade org.geoserver.main:gs-main to 2.25.0 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is CVE-2024-34711 being exploited?
There is no known exploitation of CVE-2024-34711 in the wild and no public exploit code.
Other vulnerabilities in geoserver
- CVE-2023-25157 Unfiltered SQL Injection Vulnerabilities in Geoserver
- CVE-2023-41339 Unsecured WMS dynamic styling sld=<url> parameter affords blind unauthenticated SSRF in GeoServer
- CVE-2023-43795 WPS Server Side Request Forgery in GeoServer
- CVE-2024-29198 GeoServer Vulnerable to Unauthenticated SSRF via TestWfsPost
- CVE-2025-30145 GeoServer has an Infinite Loop Vulnerability in Jiffle process
Sources
Also known as GHSA-mc43-4fqr-c965.