Stackurity Start free trial

CVEs / CVE-2025-58360

CVE-2025-58360: OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability

Are you affected? Check your servers with Stackurity: it lists the software on each server and the vulnerabilities to fix first.

Check your servers with Stackurity Already using Stackurity? Search for CVE-2025-58360

Summary

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.

CISA, Known Exploited Vulnerabilities catalog

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.

The CVE record, via NVD · published 25 Nov 2025 · NVD status: Analyzed

Affected and fixed versions

As stated by the CVE record (from the CNA)
ProductAffectedFixed in
geoserver geoserver>= 2.26.0, < 2.26.2—
geoserver geoserver< 2.25.6—
As stated by OSV
ProductAffectedFixed in
org.geoserver.web:gs-web-app (Maven)from 2.26.0, before 2.26.22.26.2
org.geoserver:gs-wms (Maven)from 2.26.0, before 2.26.22.26.2
org.geoserver.web:gs-web-app (Maven)before 2.25.62.25.6
org.geoserver:gs-wms (Maven)before 2.25.62.25.6

Package versions from GHSA-fjf5-xgmq-5525.

Exploitation

In CISA KEV since11 Dec 2025
Due date for US federal agencies1 Jan 2026
Used in ransomware campaignsUnknown
Required actionApply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.

Severity

CVSS 3.19.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Scored by NVD
WeaknessCWE-611

References

Sources

Exploitation status from the CISA Known Exploited Vulnerabilities catalog. EPSS scores from FIRST. Descriptions, severity and references from the National Vulnerability Database. Open-source package versions from OSV (CC-BY 4.0). Text is shown as each source states it; Stackurity does not edit it. Check the vendor's advisory before acting.

This product uses data from the NVD API but is not endorsed or certified by the NVD.