{"id":"CVE-2025-58360","aliases":["CVE-2025-58360","GHSA-fjf5-xgmq-5525"],"related":[],"kind":"vulnerability","state":"published","title":"GeoServer is vulnerable to an Unauthenticated XML External Entities (XXE) attack via WMS GetMap feature","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Description\n\nAn 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.\n\nAn 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.\n\nBy exploiting this vulnerability, an attacker can:\n- Read arbitrary files from the server's file system.\n- Conduct Server-Side Request Forgery (SSRF) to interact with internal systems.\n- Execute Denial of Service (DoS) attacks by exhausting resources.\n\n## Resolution\n\nUpdate to GeoServer 2.25.6, GeoServer 2.26.3, or GeoServer 2.27.0.\n\n## Impact\n\nThe XXE vulnerability can be used to retrieve arbitrary files from the server's file system.\n\n## Reference\n\n* https://osgeo-org.atlassian.net/browse/GEOS-11682\n* XBOW-024-081\n\n## Disclaimer\n\nThis 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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"GeoServer es un servidor de código abierto que permite a los usuarios compartir y editar datos geoespaciales. Desde la versión 2.26.0 hasta la 2.26.2 y hasta la 2.25.6, una vulnerabilidad de XML External Entity (XXE) fue identificada. La aplicación acepta entrada XML a través de un endpoint específico /geoserver/wms operación GetMap. Sin embargo, esta entrada no es suficientemente depurada o restringida, permitiendo a un atacante definir entidades externas dentro de la solicitud XML. Este problema ha sido parcheado en GeoServer 2.25.6, GeoServer 2.26.3 y GeoServer 2.27.0.","source":"nvd"},{"lang":"en","text":"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.","source":"kev"}],"published":"2025-11-25T19:07:05.000Z","modified":"2026-11-30T19:14:34.723Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:L","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-611"],"affected":[{"ranges":[{"version":">= 2.26.0, < 2.26.2","status":"affected"},{"version":"< 2.25.6","status":"affected"}],"vendor":"geoserver","product":"geoserver","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"2.26.0","status":"affected","fixed":"2.26.2"}],"ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.26.0","status":"affected","fixed":"2.26.2"}],"ecosystem":"Maven","package":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.25.6"}],"ecosystem":"Maven","package":"org.geoserver.web:gs-web-app","purl":"pkg:maven/org.geoserver.web/gs-web-app","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.25.6"}],"ecosystem":"Maven","package":"org.geoserver:gs-wms","purl":"pkg:maven/org.geoserver/gs-wms","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.25.6"},{"status":"affected","introduced":"2.26.0","fixed":"2.26.2"}],"vendor":"osgeo","product":"geoserver","cpe":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"OSGeo","product":"GeoServer","source":"kev"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-fjf5-xgmq-5525","tags":["kev","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd","kev"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11682","tags":["issue-tracking","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-58360","tags":["government-resource","us-government-resource","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58360","tags":["advisory","kev"],"sources":["ghsa","kev"]},{"url":"https://github.com/geoserver/geoserver","tags":["package"],"sources":["ghsa"]},{"url":"https://osgeo-org.atlassian.net/browse/GEOS-11922","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"GitHub_M","kev":{"dateAdded":"2025-12-11","dueDate":"2026-01-01","name":"OSGeo GeoServer Improper Restriction of XML External Entity Reference Vulnerability","requiredAction":"Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.","ransomware":false,"notes":"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"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"partial","date":"2025-12-12T04:55:43.956Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-58360","url":"https://www.cve.org/CVERecord?id=CVE-2025-58360","licence":"CVE Terms of Use","modified":"2026-02-26T16:07:29.959Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-fjf5-xgmq-5525","url":"https://github.com/advisories/GHSA-fjf5-xgmq-5525","licence":"CC-BY-4.0","modified":"2025-12-11T22:14:09.863Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-58360","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-58360","licence":"Public domain","modified":"2026-11-30T19:14:34.723Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2025-58360","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2025-58360","licence":"CC0-1.0","modified":"2025-12-11T00:00:00.000Z"}],"updatedAt":"2026-11-30T19:17:12.738Z","epss":{"score":0.61169,"percentile":0.99176,"date":"2026-12-01T12:00:22.000Z"}}