GeoServer
GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 2.26.0, < 2.26.2
- < 2.25.6
Fixed in 2.26.2, 2.25.6
Mitigation
Upgrade geoserver to 2.26.2 or 2.25.6 or later.
References
- Vendor advisory github.com/geoserver/geoserver/security/adviso…
Timeline
Days relative to CVE publicationFirst public PoC 1.4 days after publication; added to CISA KEV 16 days after publication. First PoC: nuclei template: GeoServer - XML External Entity Injection (nuclei template, 27 Nov 2025).
PoC repositories
Found on GitHub.5 PoCs · 1 informational
PoCs 5
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| quyenheu/CVE-2025-58360 | 27 Nov 2025 +1.5 d | 7 | PoC |
| rxerium/CVE-2025-58360 | 12 Dec 2025 +16 d | 0 | Scanner
Flags · score 15
Below the suspicion threshold (50); does not change the assessment. |
| Joker-Wiggin/CVE-2025-58360-GeoServer-XXE | 12 Dec 2025 +17 d | 0 | PoC |
| quyenheu/Bypass-CVE-2025-58360 | 31 Dec 2025 +35 d | 1 | PoC via PoC Index |
| thomas-osgood/cve-2025-58360 | 2 Feb 2026 +68 d | 1 | PoC |
Informational 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| carlzhang123/Blackash-CVE-2025-58360 | 27 Nov 2025 +1.2 d | 0 | Informational · write-up |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit auxiliary: GeoServer WMS GetMap XXE Arbitrary File Read (auxiliary/gather/geoserver_wms_getmap_xxe_file_read) | 12 Dec 2025 | 14 Nov 2026 |
| nuclei template | nuclei template: GeoServer - XML External Entity Injection | 27 Nov 2025 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 5 PoC reposGET /geoserver/rest/about/version
- Key headers
Accept: {var}- Ports
- 8080, 8081, 8888, 9999
- Seen in
- 1 repo: Joker-Wiggin/CVE-2025-58360-GeoServer-XXE
- Evidence
- Joker-Wiggin/CVE-2025-58360-GeoServer-XXE/CVE-2025-58360.py:149
GET /geoserver/web/
- Ports
- 8080, 8081, 8888, 9999
- Seen in
- 1 repo: Joker-Wiggin/CVE-2025-58360-GeoServer-XXE
- Evidence
- Joker-Wiggin/CVE-2025-58360-GeoServer-XXE/CVE-2025-58360.py:178
POST /geoserver/ows
- Query
service=WMSversion=1.1.0request=GetMapwidth=100height=100format=image/pngbbox=-180,-90,180,90- Key headers
Accept: {var}- Body markers
""<?xml version="1.0" encoding="UTF-8"?>- Ports
- 8080, 8081, 8888, 9999
- Seen in
- 1 repo: Joker-Wiggin/CVE-2025-58360-GeoServer-XXE
- Evidence
- Joker-Wiggin/CVE-2025-58360-GeoServer-XXE/CVE-2025-58360.py:225
POST /geoserver/topp/ows
- Query
service=WMSversion=2.0.0request=getmapmaxFeatures=1outputFormat=application/json- Body markers
@payload.xmlinapplication/xml- Seen in
- 1 repo: quyenheu/Bypass-CVE-2025-58360
- Evidence
- quyenheu/Bypass-CVE-2025-58360/README.md:3
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/geoserver/rest/about/version(?:[?#].*)?$
(?i)^/geoserver/web/(?:[?#].*)?$
(?i)^/geoserver/ows\?(?:.*&)?service=WMS.*version=1\.1\.0.*request=GetMap.*width=100.*height=100.*format=image/png.*bbox=-180,-90,180,90
(?i)^/geoserver/topp/ows\?(?:.*&)?service=WMS.*version=2\.0\.0.*request=getmap.*maxFeatures=1.*outputFormat=application/json
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080,8081,8888,9999] (msg:"GG PoC-Monitor CVE-2025-58360 geoserver geoserver exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/geoserver/rest/about/version"; http.header_names; content:"Accept"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2025-58360; classtype:web-application-attack; sid:9296685; rev:1;)
alert http any any -> $HOME_NET [8080,8081,8888,9999] (msg:"GG PoC-Monitor CVE-2025-58360 geoserver geoserver exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/geoserver/web/"; reference:url,poc.griffinguard.io/cve/CVE-2025-58360; classtype:web-application-attack; sid:9213961; rev:1;)
alert http any any -> $HOME_NET [8080,8081,8888,9999] (msg:"GG PoC-Monitor CVE-2025-58360 geoserver geoserver exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/geoserver/ows"; http.uri; content:"service=WMS"; http.uri; content:"version=1.1.0"; http.uri; content:"request=GetMap"; http.uri; content:"width=100"; http.uri; content:"height=100"; http.uri; content:"format=image/png"; http.uri; content:"bbox=-180,-90,180,90"; http.header_names; content:"Accept"; nocase; http.request_body; content:"|22||22|<?xml version=|22|1.0|22| encoding=|22|UTF-8|22|?>"; reference:url,poc.griffinguard.io/cve/CVE-2025-58360; classtype:web-application-attack; sid:9831775; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-58360 geoserver geoserver exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/geoserver/topp/ows"; http.uri; content:"service=WMS"; http.uri; content:"version=2.0.0"; http.uri; content:"request=getmap"; http.uri; content:"maxFeatures=1"; http.uri; content:"outputFormat=application/json"; http.request_body; content:"@payload.xml"; reference:url,poc.griffinguard.io/cve/CVE-2025-58360; classtype:web-application-attack; sid:9571513; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: geoserver geoserver exploit attempt (CVE-2025-58360)
id: gg-pocmon-cve-2025-58360-9296685
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-58360. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-58360
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/geoserver/rest/about/version'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.58360
title: geoserver geoserver exploit attempt (CVE-2025-58360)
id: gg-pocmon-cve-2025-58360-9213961
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-58360. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-58360
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/geoserver/web/'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.58360
title: geoserver geoserver exploit attempt (CVE-2025-58360)
id: gg-pocmon-cve-2025-58360-9831775
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-58360. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-58360
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/geoserver/ows'
cs-uri-query|contains|all:
- 'service=WMS'
- 'version=1.1.0'
- 'request=GetMap'
- 'width=100'
- 'height=100'
- 'format=image/png'
- 'bbox=-180,-90,180,90'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.58360
title: geoserver geoserver exploit attempt (CVE-2025-58360)
id: gg-pocmon-cve-2025-58360-9571513
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-58360. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-58360
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/geoserver/topp/ows'
cs-uri-query|contains|all:
- 'service=WMS'
- 'version=2.0.0'
- 'request=getmap'
- 'maxFeatures=1'
- 'outputFormat=application/json'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2025.58360