CVE-2025-58175: GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution
Summary A GeoServer that uses ENTITYRESOLUTIONALLOWLIST may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF). Details This vulnerability requires that GeoServer is set up to use a proxy base URL and the ENTITYRESOLUTIONALLOWLIST (default since 2.25.0): Impact This vulnerability allows an attacker to cause GeoServer to make requests to an unintended location.
Published Jun 12, 2026
Affected packages
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- <= 2.26.3
- Fixed in
- 2.26.4
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
org.geoserver:gs-main
- Ecosystem
- Maven
- Affected
- <= 2.26.3
- Fixed in
- 2.26.4
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-main
org.geoserver:gs-main
- Ecosystem
- Maven
- Affected
- >= 2.27.0, <= 2.27.2
- Fixed in
- 2.27.3
- Check
mvn dependency:tree -Dincludes=org.geoserver:gs-main
org.geoserver.web:gs-web-app
- Ecosystem
- Maven
- Affected
- >= 2.27.0, <= 2.27.2
- Fixed in
- 2.27.3
- Check
mvn dependency:tree -Dincludes=org.geoserver.web:gs-web-app
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Summary
A GeoServer that uses ENTITY_RESOLUTION_ALLOWLIST may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF).
Details
This vulnerability requires that GeoServer is set up to use a proxy base URL and the ENTITY_RESOLUTION_ALLOWLIST (default since 2.25.0):
Impact
This vulnerability allows an attacker to cause GeoServer to make requests to an unintended location.
Workaround
GeoServer installations are only affected by this vulnerability if they use a proxy base URL that does not contain a URL path or end with a slash (e.g., https://somesite.org instead of https://somesite.org/ or https://somesite.org/geoserver). If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.
Resources
https://osgeo-org.atlassian.net/browse/GEOS-11867 https://github.com/geoserver/geoserver/pull/8622
Credits:
- Le Mau Anh Phong at Verichains Cyber Force
Credited to lemauanhphong, jodygarnett.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
More Maven vulnerabilities
All Maven entriesCVE-2024-45747
GeoServer has a Server-Side Template Injection (SSTI) vulnerability in processing FreeMarker templates
high7.2Aug 19, 2026CVE-2025-52465
GeoServer has an arbitrary file write vulnerability in its Master Password Dump Page
high7.2Jun 12, 2026CVE-2025-21621
GeoServer has a Reflected Cross-Site Scripting (XSS) vulnerability in its WMS GetFeatureInfo HTML format
medium6.1Nov 25, 2025CVE-2025-58360
GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
high8.2ExploitedNov 25, 2025CVE-2024-34711
GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)
critical9.3Jun 10, 2025CVE-2024-38524
GWC Home Page communicate version and revision information
medium5.3Jun 10, 2025
