CVE-2025-58360: GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature

CVE-2025-58360 · Severity: critical · CVSS 8.2 · Exploited in the wild · Published 2025-11-25

GeoServer, an open-source platform for sharing and editing geospatial data, contains a critical security flaw in its map-rendering component. An attacker can exploit this to read sensitive files from the server or disrupt operations. This vulnerability is currently being exploited in the wild, posing a significant risk to organizations using unpatched versions.

Technologies: Geoserver, org.geoserver:gs-wms (Maven), org.geoserver.web:gs-web-app (Maven), OSGeo GeoServer. Vendors: GeoServer, Maven, OSGeo.

Quick answers

Is CVE-2025-58360 exploited in the wild?
Yes. CVE-2025-58360 is known to be exploited in the wild, first recorded on 11 December 2025. Treat it as urgent.
How severe is CVE-2025-58360?
Critical severity, with a CVSS score of 8.2, published 25 November 2025.
Which products and versions are affected?
org.geoserver:gs-wms (Maven) ECOSYSTEM:introduced=2.26.0,fixed=2.26.2; org.geoserver.web:gs-web-app (Maven) ECOSYSTEM:introduced=2.26.0,fixed=2.26.2; OSGeo GeoServer 2.26.0 to 2.26.1, versions prior to 2.25.6.
Is there a fix for CVE-2025-58360?
Yes. org.geoserver:gs-wms (Maven): upgrade to 2.26.2 or later; org.geoserver.web:gs-web-app (Maven): upgrade to 2.26.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-58360 attacked?
It is attacked over the network, in an operating system.
Am I affected by CVE-2025-58360?
Check whether you run Geoserver, org.geoserver:gs-wms (Maven), org.geoserver.web:gs-web-app (Maven) or one of the others listed at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • org.geoserver:gs-wms (Maven): upgrade to 2.26.2 or later
    # set org.geoserver:gs-wms to 2.26.2 in your pom.xml or build.gradle
  • org.geoserver.web:gs-web-app (Maven): upgrade to 2.26.2 or later
    # set org.geoserver.web:gs-web-app to 2.26.2 in your pom.xml or build.gradle

Technical details

An XML External Entity (XXE) vulnerability exists in OSGeo GeoServer within the /geoserver/wms endpoint during GetMap operations. The application fails to sufficiently sanitize or restrict XML input, allowing an unauthenticated remote attacker to define external entities within a crafted XML request. This can lead to the disclosure of sensitive local files, server-side request forgery (SSRF), or denial-of-service. The vulnerability affects versions 2.26.x prior to 2.26.2 and versions prior to 2.25.6. Patches are available in versions 2.25.6, 2.26.3, and 2.27.0. This flaw is listed on the CISA Known Exploited Vulnerabilities (KEV) catalog.

Affected products

  • OSGeo GeoServer 2.26.0 to 2.26.1, versions prior to 2.25.6

Identifiers

  • CVE-2025-58360
  • GHSA-fjf5-xgmq-5525

Timeline

  • 2025-11-25: disclosed
  • 2025-12-11: kev added: Added to CISA KEV catalog due to active exploitation.
  • 2025-12-11: patched: Patches released in versions 2.25.6, 2.26.3, and 2.27.0.

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.