{"id":"CVE-2025-58175","published":"2026-06-18T14:31:19Z","modified":"2026-06-18T15:26:07Z","title":"GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution","vendor":"geoserver","product":"org.geoserver.web:gs-web-app","tier":"tail","description":{"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00287,"percentile":0.21717,"provenance":"source"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"},{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"},{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/geoserver/geoserver/pull/8622","tags":["x_refsource_MISC"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11867","tags":["x_refsource_MISC"]}],"priority":{"score":8.9,"factors":[{"name":"EPSS percentile","points":4.34},{"name":"CVSS severity","points":4.55}]},"vendorSlug":"geoserver","affectedVersions":[{"vendor":"geoserver","product":"org.geoserver.web:gs-web-app","versions":["< 2.26.4",">= 2.27.0, < 2.27.3"]},{"vendor":"geoserver","product":"org.geoserver:gs-main","versions":["< 2.26.4",">= 2.27.0, < 2.27.3"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-18T15:25:52.864367Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","vulnerableRanges":["<2.26.4",">=2.27.0, <2.27.3"],"patched":["2.26.4","2.27.3"],"from":["GHSA-x4r9-gmw3-hxww"],"provenance":"source"},{"ecosystem":"Maven","package":"org.geoserver:gs-main","vulnerableRanges":["<2.26.4",">=2.27.0, <2.27.3"],"patched":["2.26.4","2.27.3"],"from":["GHSA-x4r9-gmw3-hxww"],"provenance":"source"}],"summary":{"text":"GeoServer's web application (org.geoserver.web:gs-web-app) contains a server-side request forgery flaw in its XML entity resolution, affecting installations that use the ENTITY_RESOLUTION_ALLOWLIST and a proxy base URL. An unauthenticated attacker over the network, under the conditions that the proxy base URL lacks a URL path and does not end with a slash (in which case adding a trailing slash mitigates it), can make the server issue requests to destinations of the attacker's choosing.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:08:47Z"},"euvd":{"id":"EUVD-2025-210278","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2022-24847","published":"2022-04-13","fixed":"2.20.4","kev":false},{"cve":"CVE-2024-23640","published":"2024-03-20","fixed":"2.23.3","kev":false},{"cve":"CVE-2024-34696","published":"2024-07-01","fixed":"2.25.1","kev":false,"link":{"from":"CVE-2024-34696","to":"CVE-2025-58175","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Maven:org.geoserver:gs-main","fromFixed":"2.25.1","toFixed":"2.26.4","daysApart":717}]}},{"cve":"CVE-2025-58175","published":"2026-06-18","fixed":"2.27.3","kev":false}],"package":"Maven:org.geoserver:gs-main"}}