{"answers":{"affected":"8 open source packages ship an affected version, including org.geoserver.web:gs-web-app and org.geoserver:gs-main. It affects 1 product.","exploited":"There is no known exploitation of CVE-2025-58175 in the wild and no public exploit code.","fix":"Upgrade org.geoserver.web:gs-web-app to a fixed version for your release line: 2.26.4 or 2.27.3.","what":"CVE-2025-58175 is a medium-severity server-side request forgery vulnerability in org.geoserver.web:gs-web-app, published on 18 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-58175 and fix it if it is affected.\n\nWhat it is: CVE-2025-58175 is a medium-severity server-side request forgery vulnerability in org.geoserver.web:gs-web-app, published on 18 Jun 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2025-58175 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- org.geoserver.web:gs-web-app (Maven): affected all versions; fixed in 2.26.4\n- org.geoserver.web:gs-web-app (Maven): affected all versions; fixed in 2.26.4\n- org.geoserver.web:gs-web-app (Maven): affected from 2.27.0; fixed in 2.27.3\n- org.geoserver.web:gs-web-app (Maven): affected from 2.27.0; fixed in 2.27.3\n- org.geoserver:gs-main (Maven): affected all versions; fixed in 2.26.4\n- org.geoserver:gs-main (Maven): affected all versions; fixed in 2.26.4\n- org.geoserver:gs-main (Maven): affected from 2.27.0; fixed in 2.27.3\n- org.geoserver:gs-main (Maven): affected from 2.27.0; fixed in 2.27.3\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-58175/ (Markdown: https://insights.sbomify.com/CVE-2025-58175/index.md)","id":"CVE-2025-58175","markdown":"https://insights.sbomify.com/CVE-2025-58175/index.md","name":"CVE-2025-58175","record":{"aliases":["GHSA-x4r9-gmw3-hxww"],"analysis":{"component_type":"server_software","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":true,"product_category":"GeoServer geospatial server","requires_auth":"none","summary":"Unauthenticated attackers can perform Server-Side Request Forgery in GeoServer when specific proxy and entity resolution settings are enabled.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"geoserver","vendor":"osgeo"}],"cvss":{"score":6.5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L","version":"3.1"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"},{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"},{"id":"CWE-20","name":"Improper Input Validation"}],"description":"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.","ecosystems":["Maven"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution","id":"CVE-2025-58175","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Maven","product":null,"products":[],"type":"ssrf","year":"2025"},"n_packages":8,"n_references":3,"next":{"headline":"Dive's improper processing of custom urls can lead to Remote Code Execution","id":"CVE-2025-58176"},"packages":[{"ecosystem":"Maven","fixed":["2.26.4"],"introduced":["0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":null,"source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.26.4"],"introduced":["0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.27.3"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":null,"source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.27.3"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.26.4"],"introduced":["0"],"last_affected":[],"package":"org.geoserver:gs-main","purl":null,"source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.26.4"],"introduced":["0"],"last_affected":[],"package":"org.geoserver:gs-main","purl":"pkg:maven/org.geoserver/gs-main","source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.27.3"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver:gs-main","purl":null,"source":"GHSA-x4r9-gmw3-hxww"},{"ecosystem":"Maven","fixed":["2.27.3"],"introduced":["2.27.0"],"last_affected":[],"package":"org.geoserver:gs-main","purl":"pkg:maven/org.geoserver/gs-main","source":"GHSA-x4r9-gmw3-hxww"}],"prev":{"headline":"LAM profile editor stored cross-site scripting vulnerability","id":"CVE-2025-58174"},"products":["org.geoserver.web:gs-web-app","org.geoserver:gs-main"],"published":"2026-06-18","related":[{"cvss_score":9.8,"headline":"Unfiltered SQL Injection Vulnerabilities in Geoserver","id":"CVE-2023-25157","kev_date_added":null,"published":"2023-02-21"},{"cvss_score":9.3,"headline":"GeoServer has improper ENTITY_RESOLUTION_ALLOWLIST URI validation in XML Processing (SSRF)","id":"CVE-2024-34711","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":8.6,"headline":"Unsecured WMS dynamic styling sld=\u003curl\u003e parameter affords blind unauthenticated SSRF in GeoServer","id":"CVE-2023-41339","kev_date_added":null,"published":"2023-10-24"},{"cvss_score":8.6,"headline":"WPS Server Side Request Forgery in GeoServer","id":"CVE-2023-43795","kev_date_added":null,"published":"2023-10-24"},{"cvss_score":7.5,"headline":"GeoServer Vulnerable to Unauthenticated SSRF via TestWfsPost","id":"CVE-2024-29198","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":7.5,"headline":"GeoServer has an Infinite Loop Vulnerability in Jiffle process","id":"CVE-2025-30145","kev_date_added":null,"published":"2025-06-10"},{"cvss_score":7.5,"headline":"GeoServer allows SSRF via the option for setting a proxy host","id":"CVE-2021-40822","kev_date_added":null,"published":"2022-05-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-06-18","vendors":["geoserver"]},"summary":"Unauthenticated attackers can perform Server-Side Request Forgery in GeoServer when specific proxy and entity resolution settings are enabled.","url":"https://insights.sbomify.com/CVE-2025-58175/"}