Live threats

All CVEs / OSGeo

CVE-2025-58360OSGeo GeoServer

XML External Entity Injection in GeoServer

Critical 9.8 KEV No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
—
Auth required
No
In KEV since
Dec 11, 2025
CISA deadline
Jan 1, 2026
Ransomware use
Unknown
Published
Nov 25, 2025
Updated
Nov 30, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
SSVC (CISA)
Exploitation: active · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

GeoServer versions before 2.25.6 and 2.26.0 to 2.26.1 contain an XXE vulnerability in the /geoserver/wms GetMap endpoint. An unauthenticated attacker can submit malformed XML with external entities to access system files, sensitive information, or perform unauthorized operations. CISA has confirmed active exploitation of this vulnerability.

Show the original NVD text

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.

Source text, unmodified. NVD.

Exploitation confirmed by CISA

OSGeo GeoServer contains an improper restriction of XML external entity reference vulnerability that occurs when the application accepts XML input through a specific endpoint /geoserver/wms operation GetMap and could allow an attacker to define external entities within the XML request.

Action required by CISA: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Source text, unmodified. CISA KEV.

What to do

Patch available · fixed versions: 2.25.6, 2.26.2, 2.27.0

Update GeoServer to version 2.25.6, 2.26.2, or 2.27.0 depending on your support branch. If immediate update is not possible, restrict access to the /geoserver/wms endpoint.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for GeoServer.
  2. CISA has confirmed it is exploited: treat it as urgent. The deadline for US federal agencies was January 1, 2026.
  3. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
  4. Check logs for signs of earlier exploitation.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.geoserver.web:gs-web-app ≥ 2.26.0 < 2.26.2 2.26.2 —
Maven org.geoserver.web:gs-web-app < 2.25.6 2.25.6 —
Maven org.geoserver:gs-wms ≥ 2.26.0 < 2.26.2 2.26.2 —
Maven org.geoserver:gs-wms < 2.25.6 2.25.6 —

Per OSV / GitHub Advisories (GHSA-fjf5-xgmq-5525). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
osgeogeoserver< 2.25.6
osgeogeoserver≥ 2.26.0 < 2.26.2

Official sources

References

Links published by the sources. Open them with care.