# CVE-2024-34711: GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)

- Severity: Critical 9.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.31%, higher than 25% of CVEs (2026-12-01)
- Published: 2025-06-10T14:13:44.000Z
- Modified: 2026-06-17T07:33:55.433Z
- Also known as: GHSA-mc43-4fqr-c965
- Weaknesses: CWE-20, CWE-200, CWE-611, CWE-918
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- geoserver geoserver: < 2.25.0
- org.geoserver.web:gs-web-app (Maven): before 2.25.0
- org.geoserver.main:gs-main (Maven): before 2.25.0
- osgeo geoserver: before 2.25.0

## Every score

- GitHub_M: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- GitHub: CVSS:3.1 9.3 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N`
- NVD: CVSS:3.1 8.2 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/geoserver/geoserver/security/advisories/GHSA-mc43-4fqr-c965> (mitigation, third-party-advisory, web)
- <https://docs.geoserver.org/latest/en/user/production/config.html#production-config-external-entities> (product, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-34711> (advisory)
- <https://github.com/geoserver/geoserver> (package)

## Sources

- CVE List: [CVE-2024-34711](https://www.cve.org/CVERecord?id=CVE-2024-34711), CVE Terms of Use, modified 2025-06-10
- GitHub Advisory Database: [GHSA-mc43-4fqr-c965](https://github.com/advisories/GHSA-mc43-4fqr-c965), CC-BY-4.0, modified 2025-06-10
- NVD: [CVE-2024-34711](https://nvd.nist.gov/vuln/detail/CVE-2024-34711), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-34711 · Whole record: https://cve.day/CVE-2024-34711.json · Rebuilt by cve.day 2026-11-25T22:58:52.742Z
