| Advisory ID | github_osv/GHSA-fjf5-xgmq-5525 |
| Aliases |
CVE-2025-58360
|
| Summary | GeoServer is vulnerable to Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature ## 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 * https://osgeo-org.atlassian.net/browse/GEOS-11682 * XBOW-024-081 ## Disclaimer This vulnerability was detected using **[XBOW](https://xbow.com/)**, 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. |
| Status | Published |
| Exploitability | 2.0 |
| Weighted Severity | 7.4 |
| Risk | 10.0 |
| Affected and Fixed Packages | Package Details |
| Introduced and Fixed Package Commit Patches | Package Commit Patches Details |
| System | Score | Found at |
|---|---|---|
| cvssv3.1 | 8.2 | https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2025/11/GHSA-fjf5-xgmq-5525/GHSA-fjf5-xgmq-5525.json |
| generic_textual | HIGH |
| Data source | KEV |
|---|---|
| Date added | Dec. 11, 2025 |
| Description | 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. |
| Required action | Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. |
| Due date | Jan. 1, 2026 |
| Note | This vulnerability affects an open-source component, third-party library, or a protocol used by different products. For more information, please see: https://github.com/geoserver/geoserver/security/advisories/GHSA-fjf5-xgmq-5525 ; https://osgeo-org.atlassian.net/browse/GEOS-11922 ; https://nvd.nist.gov/vuln/detail/CVE-2025-58360 |
| Ransomware campaign use | Unknown |
| Data source | Metasploit |
|---|---|
| Description | This module exploits an XML External Entity (XXE) vulnerability in GeoServer via the WMS GetMap operation. The vulnerability allows reading arbitrary files from the server's file system by injecting an XXE entity in the SLD (Styled Layer Descriptor). Affected versions: - GeoServer >= 2.26.0, <= 2.26.1 - GeoServer <= 2.25.5 The file content is returned in the error message when the layer name contains the XXE entity reference. |
| Note | Stability: - crash-safe Reliability: [] SideEffects: - ioc-in-logs |
| Ransomware campaign use | Unknown |
| Source publication date | Nov. 25, 2025 |
| Source URL | https://github.com/rapid7/metasploit-framework/tree/master/modules/auxiliary/gather/geoserver_wms_getmap_xxe_file_read.rb |
No EPSS data available for this advisory.
| Patch URL | |
|---|---|
| There are no known patches. | |
| Attack Vector (AV) | Attack Complexity (AC) | Privileges Required (PR) | User Interaction (UI) | Scope (S) | Confidentiality Impact (C) | Integrity Impact (I) | Availability Impact (A) |
|---|---|---|---|---|---|---|---|
network adjacent_network local physical |
low high |
none low high |
none required |
unchanged changed |
high low none |
high low none |
high low none |
Vector: SSVCv2/E:A/A:Y/T:P/P:M/B:A/M:M/D:A/2025-12-12T04:55:43Z/
Decision: Attend
Source URL: https://github.com/cisagov/vulnrichment/blob/develop/2025/58xxx/CVE-2025-58360.json
Source Advisory: vulnrichment/CVE-2025-58360
[{'Exploitation': 'active'},
{'Automatable': 'yes'},
{'Technical Impact': 'partial'},
{'Mission Prevalence': 'minimal'},
{'Public Well-being Impact': 'material'},
{'Mission & Well-being': 'medium'}]