CVE-2025-58360
GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
In short
GeoServer has a security flaw where attackers can send specially crafted XML requests to the WMS GetMap feature without logging in, potentially reading sensitive files or causing the server to crash. This happens because the application doesn't properly validate XML input.
Technical detail
An unauthenticated attacker can exploit XXE vulnerability via the /geoserver/wms GetMap endpoint by injecting malicious XML entities in requests. The application fails to disable external entity processing, enabling file disclosure, SSRF, or denial of service attacks. Affected versions are 2.26.0–2.26.1 and 2.25.0–2.25.5.
Summary generated and translated by AI from the official description.
GeoServer is an open source server that allows users to share and edit geospatial data. From version 2.26.0 to before 2.26.2 and before 2.25.6, an XML External Entity (XXE) vulnerability was identified. The application accepts XML input through a specific endpoint /geoserver/wms operation GetMap. However, this input is not sufficiently sanitized or restricted, allowing an attacker to define external entities within the XML request. This issue has been patched in GeoServer 2.25.6, GeoServer 2.26.3, and GeoServer 2.27.0.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Affected products
geoserver · geoserverpublic PoCs found — 6
githubgithub.com/quyenheu/CVE-2025-58360★ 6githubgithub.com/quyenheu/Bypass-CVE-2025-58360★ 1githubgithub.com/thomas-osgood/cve-2025-58360★ 1githubgithub.com/carlzhang123/Blackash-CVE-2025-58360★ 0githubgithub.com/rxerium/CVE-2025-58360★ 0githubgithub.com/Joker-Wiggin/CVE-2025-58360-GeoServer-XXE★ 0⚠ Public resources, to assess the exposure of systems you control or are authorized to test. Test only with authorization.
Want to know if your infrastructure is exposed to this?
Talk to TrueHacking →