{"id":"CVE-2025-58175","aliases":["CVE-2025-58175","GHSA-x4r9-gmw3-hxww"],"related":[],"kind":"vulnerability","state":"published","title":"GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution","summary":"GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.26.4 and 2.27.3, a GeoServer that uses `ENTITY_RESOLUTION_ALLOWLIST` may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF). This vulnerability requires that GeoServer is set up to use a proxy base URL and the `ENTITY_RESOLUTION_ALLOWLIST` (default since 2.25.0). Versions 2.26.4 and 2.27.3 contain a fix. 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. If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"GeoServer is an open source server that allows users to share and edit geospatial data. Prior to versions 2.26.4 and 2.27.3, a GeoServer that uses `ENTITY_RESOLUTION_ALLOWLIST` may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF). This vulnerability requires that GeoServer is set up to use a proxy base URL and the `ENTITY_RESOLUTION_ALLOWLIST` (default since 2.25.0). Versions 2.26.4 and 2.27.3 contain a fix. 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. If the proxy base URL does not contain a path, adding a slash to the end of the URL will mitigate this vulnerability.","source":"cvelist"},{"lang":"en","text":"### Summary\nA GeoServer that uses `ENTITY_RESOLUTION_ALLOWLIST` may allow attacker to perform unauthenticated Server-Side Request Forgery (SSRF).\n\n### Details\nThis vulnerability requires that GeoServer is set up to use a proxy base URL and the `ENTITY_RESOLUTION_ALLOWLIST` (default since 2.25.0):\n\n### Impact\nThis vulnerability allows an attacker to cause GeoServer to make requests to an unintended location.\n\n### Workaround\nGeoServer 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.\n\n### Resources\nhttps://osgeo-org.atlassian.net/browse/GEOS-11867\nhttps://github.com/geoserver/geoserver/pull/8622\n\n### Credits:\n-  Le Mau Anh Phong at Verichains Cyber Force","format":"markdown","source":"ghsa"},{"lang":"es","text":"GeoServer es un servidor de código abierto que permite a los usuarios compartir y editar datos geoespaciales. Antes de las versiones 2.26.4 y 2.27.3, un GeoServer que utiliza 'ENTITY_RESOLUTION_ALLOWLIST' puede permitir al atacante realizar una falsificación de petición del lado del servidor (SSRF) no autenticada. Esta vulnerabilidad requiere que GeoServer esté configurado para usar una URL base de proxy y la 'ENTITY_RESOLUTION_ALLOWLIST' (predeterminada desde la 2.25.0). Las versiones 2.26.4 y 2.27.3 contienen una corrección. Las instalaciones de GeoServer solo se ven afectadas por esta vulnerabilidad si utilizan una URL base de proxy que no contiene una ruta de URL o no termina con una barra. Si la URL base de proxy no contiene una ruta, añadir una barra al final de la URL mitigará esta vulnerabilidad.","source":"nvd"}],"published":"2026-06-12T18:23:35.000Z","modified":"2026-10-06T22:10:00.247Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","score":8.2,"rating":"HIGH"}],"cwes":["CWE-20","CWE-611","CWE-918"],"affected":[{"ranges":[{"version":"< 2.26.4","status":"affected"},{"version":">= 2.27.0, < 2.27.3","status":"affected"}],"vendor":"geoserver","product":"org.geoserver.web:gs-web-app","source":"cvelist"},{"ranges":[{"version":"< 2.26.4","status":"affected"},{"version":">= 2.27.0, < 2.27.3","status":"affected"}],"vendor":"geoserver","product":"org.geoserver:gs-main","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.26.4"}],"ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.26.4"}],"ecosystem":"Maven","package":"org.geoserver:gs-main","purl":"pkg:maven/org.geoserver/gs-main","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.27.0","status":"affected","fixed":"2.27.3"}],"ecosystem":"Maven","package":"org.geoserver:gs-main","purl":"pkg:maven/org.geoserver/gs-main","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.27.0","status":"affected","fixed":"2.27.3"}],"ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.26.4"},{"status":"affected","introduced":"2.27.0","fixed":"2.27.3"}],"vendor":"osgeo","product":"geoserver","cpe":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww","tags":["mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/geoserver/geoserver/pull/8622","tags":["issue-tracking","patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11867","tags":["issue-tracking","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-18T15:25:52.864Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58175","url":"https://www.cve.org/CVERecord?id=CVE-2025-58175","licence":"CVE Terms of Use","modified":"2026-06-18T15:26:07.311Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-x4r9-gmw3-hxww","url":"https://github.com/advisories/GHSA-x4r9-gmw3-hxww","licence":"CC-BY-4.0","modified":"2026-06-12T18:41:25.436Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58175","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58175","licence":"Public domain","modified":"2026-10-06T22:10:00.247Z"}],"updatedAt":"2026-11-25T22:59:12.329Z","epss":{"score":0.00287,"percentile":0.22819,"date":"2026-12-01T12:00:22.000Z"}}