Vulnerability · Published Jun 18, 2026 · Assigned by GitHub_M
CVE-2025-58175GeoServer has a Server-Side Request Forgery (SSRF) Vulnerability in its XML Entity Resolution
Medium 6.5
In plain English
A medium-severity improper input validation in org.geoserver.web:gs-web-app from geoserver. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Maven | org.geoserver.web:gs-web-app | 2.26.4 | GHSA-x4r9-gmw3-hxww |
| Maven | org.geoserver.web:gs-web-app | 2.27.3 | GHSA-x4r9-gmw3-hxww |
| Maven | org.geoserver:gs-main | 2.26.4 | GHSA-x4r9-gmw3-hxww |
| Maven | org.geoserver:gs-main | 2.27.3 | GHSA-x4r9-gmw3-hxww |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| geoserver | org.geoserver.web:gs-web-app | < 2.26.4>= 2.27.0, < 2.27.3 |
| geoserver | org.geoserver:gs-main | < 2.26.4>= 2.27.0, < 2.27.3 |
Weakness: CWE-20, CWE-611, CWE-918 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww x_refsource_CONFIRM
- https://github.com/geoserver/geoserver/pull/8622 x_refsource_MISC
- https://osgeo-org.atlassian.net/browse/GEOS-11867 x_refsource_MISC