{"id":"GHSA-x4r9-gmw3-hxww","summary":"GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution","details":"### 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","aliases":["CVE-2025-58175"],"modified":"2026-06-12T18:41:25.436550Z","published":"2026-06-12T18:23:35Z","database_specific":{"cwe_ids":["CWE-20","CWE-611","CWE-918"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2026-06-12T18:23:35Z","nvd_published_at":null},"references":[{"type":"WEB","url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww"},{"type":"WEB","url":"https://github.com/geoserver/geoserver/pull/8622"},{"type":"PACKAGE","url":"https://github.com/geoserver/geoserver"}],"affected":[{"package":{"name":"org.geoserver.web:gs-web-app","ecosystem":"Maven","purl":"pkg:maven/org.geoserver.web/gs-web-app"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.4"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x4r9-gmw3-hxww/GHSA-x4r9-gmw3-hxww.json","last_known_affected_version_range":"\u003c= 2.26.3"}},{"package":{"name":"org.geoserver:gs-main","ecosystem":"Maven","purl":"pkg:maven/org.geoserver/gs-main"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.26.4"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.26.3","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x4r9-gmw3-hxww/GHSA-x4r9-gmw3-hxww.json"}},{"package":{"name":"org.geoserver:gs-main","ecosystem":"Maven","purl":"pkg:maven/org.geoserver/gs-main"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.27.0"},{"fixed":"2.27.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.27.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x4r9-gmw3-hxww/GHSA-x4r9-gmw3-hxww.json"}},{"package":{"name":"org.geoserver.web:gs-web-app","ecosystem":"Maven","purl":"pkg:maven/org.geoserver.web/gs-web-app"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.27.0"},{"fixed":"2.27.3"}]}],"database_specific":{"last_known_affected_version_range":"\u003c= 2.27.2","source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/06/GHSA-x4r9-gmw3-hxww/GHSA-x4r9-gmw3-hxww.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L"}]}