High

GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature

  • Disclosed: 25.11.2025
  • Updated: 11.10.2026 12:22

CISA confirms exploitation of this vulnerability in real attacks. Prioritise checking whether your application is affected. CISA KEV · CC0 1.0

Description

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.

An XML External Entity attack is a type of attack that occurs when XML input containing a reference to an external entity is processed by a weakly configured XML parser. This attack may lead to the disclosure of confidential data, denial of service, port scanning from the perspective of the machine where the parser is located, and other system impacts.

By exploiting this vulnerability, an attacker can:

  • Read arbitrary files from the server's file system.
  • Conduct Server-Side Request Forgery (SSRF) to interact with internal systems.
  • Execute Denial of Service (DoS) attacks by exhausting resources.

Resolution

Update to GeoServer 2.25.6, GeoServer 2.26.3, or GeoServer 2.27.0.

Impact

The XXE vulnerability can be used to retrieve arbitrary files from the server's file system.

Reference

Disclaimer

This vulnerability was detected using XBOW, a system that autonomously finds and exploits potential security vulnerabilities. The finding has been thoroughly reviewed and validated by a security researcher before submission. While XBOW is intended to work autonomously, during its development human experts ensure the accuracy and relevance of its reports.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.geoserver:gs-wms >= 2.26.0, < 2.26.2, < 2.25.6 2.26.2, 2.25.6
Java / Kotlin (Maven) org.geoserver.web:gs-web-app >= 2.26.0, < 2.26.2, < 2.25.6 2.26.2, 2.25.6

References

CVSS score 8.2/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L
Weakness (CWE)
CWE-611
Platform
Java / Kotlin (Maven)
Package
org.geoserver:gs-wms, org.geoserver.web:gs-web-app
Disclosed
25.11.2025
Updated
11.10.2026 12:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-fjf5-xgmq-5525 - CC BY 4.0

Vulnerability history: org.geoserver.web:gs-web-app

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (16) in the archive
Total entries
16
First → latest
10.2023 08.2026
Without a fix
0
Exploited in attacks
2

Severity breakdown

  • Critical 2
  • High 6
  • Medium 8

Disclosures per year

  1. 2023: 1
  2. 2024: 4
  3. 2025: 8
  4. 2026: 3
Severity:
  1. High · 7.2 CVE-2025-52465 >= 2.27.0, < 2.27.3, < 2.26.4 2.27.3, 2.26.4
  2. GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature this entry
    High · 8.2 Exploited in attacks CVE-2025-58360 >= 2.26.0, < 2.26.2, < 2.25.6 2.26.2, 2.25.6
  3. High · 8.2 CVE-2025-30220 >= 2.27.0, < 2.27.1, >= 2.26.0, < 2.26.3, < 2.25.7 2.27.1, 2.26.3, 2.25.7
  4. High · 7.5 CVE-2025-30145 >= 2.26.0, < 2.26.3, < 2.25.7 2.26.3, 2.25.7
  5. Critical · 9.8 Exploited in attacks CVE-2024-36401 >= 2.24.0, < 2.24.4, >= 2.25.0, < 2.25.2, >= 2.23.0, < 2.23.6, < 2.22.6 2.24.4, 2.25.2, 2.23.6, 2.22.6
  6. High · 7.5 CVE-2024-24749 < 2.23.5, >= 2.24.0, < 2.24.3 2.23.5, 2.24.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.