XXE in Geoserver Org.geoserver:gs-Main
CVE-2025-58175
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.
Vulnerability class: Drupalgeddon 2 (CVE-2018-7600)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:L.
EPSS exploit prediction
EPSS 0.003, 21.5th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Geoserver Org.geoserver:gs-Main — versions < 2.26.4, >= 2.27.0, < 2.27.3
- Geoserver Org.geoserver.web:gs-Web-App — versions < 2.26.4, >= 2.27.0, < 2.27.3
- Osgeo Geoserver
Weakness classification (CWE)
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-x4r9-gmw3-hxww (Mitigation, Vendor Advisory)
- https://github.com/geoserver/geoserver/pull/8622 (Patch, Issue Tracking)
- https://osgeo-org.atlassian.net/browse/GEOS-11867 (Issue Tracking)