Patchfirst
CVE-2025-58360 KEVPublic exploit Critical · 9.8 EPSS 61.2%

OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability

OSGeo · GeoServer

Summary

The flaw is an XML External Entity (XXE) vulnerability in the GeoServer open source geospatial data server, specifically in the XML input handling of its /geoserver/wms endpoint for the GetMap operation. An attacker who can send a crafted XML request to that endpoint, without authentication or user interaction, can define external entities that the server processes, provided the affected GeoServer versions are in use (2.26.0 up to 2.26.2, and earlier than 2.25.6).

Official description · NVD

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.

Breakdown
74.7 / 100
Exploited
Yes, in CISA KEV
Reports
0
Tactics
2/15

How an attack unfolds

Based on mappings. Select a step to see the evidence.
  1. How attackers get in

  2. What they do

First seen exploited 16 days after disclosure. Public exploit code (Metasploit) was available the same day.

  1. DisclosedPublic exploit codeMetasploitday 0
  2. First seen exploitedVulnCheck KEV evidenceAdded to CISA KEVEU database agrees+16 days

CISA KEV listing is when exploitation was confirmed, not necessarily the first attack.

5 fixes in gs-wms over 20 months. The latest fix listed for gs-wms is 2.26.3.

Fixes in gs-wmsMaven package, by fixed version. Earlier and later fixes in the same package, not necessarily the same bug.

  1. 2.24.1CVE-2024-2381820 Mar 2024
  2. 2.25.0CVE-2025-2162125 Nov 2025
  3. 2.25.2CVE-2024-364011 Jul 2024KEV
  4. 2.26.2CVE-2025-5836025 Nov 2025KEV
  5. 2.26.3CVE-2025-3014510 Jun 2025Latest listed

techniques

2 , grouped by in kill-chain order, 2 cited passages 2

Initial AccessTA0001

Exploit Public-Facing Application T1190 Medium
AI mapping from the description · how it is exploited

Unauthenticated XXE via public WMS endpoint

allowing an attacker to define external entities within the XML request
From the official description (NVD) Original (opens in a new tab) ↗

CollectionTA0009

Data from Local System T1005 Medium
AI mapping from the description · primary impact

XXE enables reading local files

allowing an attacker to define external entities within the XML request
From the official description (NVD) Original (opens in a new tab) ↗

Detection

0 rules for this CVE · 163 general rules for its techniques

Rules for this CVE

0 that reference CVE-2025-58360 directly.

CVE-specific rules are not available in this build. Search SigmaHQ ↗

Sigma rules © SigmaHQ, Detection Rule License 1.1; linked, not reproduced.

Am I affected? What do I upgrade to?

From GitHub Security Advisories and OSV

2 packages in 1 ecosystem. No single main package: each of these ships the affected code.

  • Mavenorg.geoserver.web:gs-web-app
    Affected: 2.26.0 up to 2.26.2; All versions before 2.25.6Upgrade to 2.26.3 or later (older lines: 2.25.7)
  • Mavenorg.geoserver:gs-wms
    Affected: 2.26.0 up to 2.26.2; All versions before 2.25.6Upgrade to 2.26.2 or later (older lines: 2.25.6)

Check your lockfile against all CVEs

What security researchers reported

Not named in any threat report yet

Also mentioned in 50 community threat pulses (AlienVault OTX)

Weaker evidence

Pulses are indicator collections that anyone can publish. A mention is not confirmation of exploitation.

References

3 links, grouped by NVD tag
↑ ↓ chooseEnter openEsc close