Actively exploited in the wild
OSGeo GeoServer XML Injection Vulnerability
OSGeo - GeoServer · Listed in the CISA KEV since 2026-11-27. This indicates confirmed attacks in production environments.
Required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.
CVE-2026-120705
HighCVSS 8.6KEVExploitation Probability (EPSS)
Very high risk99th percentile - higher than 99% of all known CVEs
Summary
GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping and parsed the result without GeoServer's entity resolver, allowing an unauthenticated caller to inject XML, including xi:include.
Risk Assessment
An unauthenticated attacker can inject XML into the query, potentially leading to data disclosure or other impacts depending on how the injected document is processed.
Recommendation
Update org.geoserver:gs-wfs-core to version 2.27.7, 2.28.6, or 3.0.2 and org.geotools:gt-metadata to version 33.7, 34.6, or 35.2 (or later).
Other vulnerabilities in GeoServer
See all- CVE-2026-129243HighActively exploited
In GeoServer, a service parameter with a prefix (e.g. service=x/WFS) was resolved to the WFS service by the dispatcher, but service security checked the unresolved name x/WFS. No rule matched, so operations restricted in service security ran without a role check, allowing anonymous users to create and delete WFS stored queries.
- CVE-2025-58360HighActively exploited
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.
- CVE-2025-30220Critical
GeoServer and related components (GeoTools, GeoNetwork) are vulnerable to XML External Entity (XXE) in the Schemas class of gt-xsd-core, which does not use the EntityResolver from ParserHandler. The vulnerability affects processing of XML documents with references to external XML schemas.
- CVE-2024-34711Critical
GeoServer contains an improper URI validation vulnerability that enables an unauthenticated attacker to perform XML External Entities (XXE) attacks and send GET requests to any HTTP server. The default URI filtering based on a regular expression can be bypassed, allowing scanning of internal networks and information gathering. Versions 2.25.0 and later default to using the ENTITY_RESOLUTION_ALLOWLIST.
- CVE-2024-36401CriticalActively exploited
GeoServer versions prior to 2.22.6, 2.23.6, 2.24.4, and 2.25.2 allow unauthenticated remote code execution (RCE) through specially crafted OGC requests. The vulnerability stems from unsafely passing property names to the commons-jxpath library, which executes arbitrary code when evaluating XPath expressions. This affects all GeoServer instances, and exploitation has been confirmed via WFS, WMS, and WPS requests.
- CVE-2023-35042Critical
GeoServer 2, in some configurations, allows remote attackers to execute arbitrary code via java.lang.Runtime.getRuntime().exec in wps:LiteralData within a wps:Execute request.
- CVE-2025-58175Medium
GeoServer prior to versions 2.26.4 and 2.27.3 may allow an attacker to perform unauthenticated Server-Side Request Forgery (SSRF) using `ENTITY_RESOLUTION_ALLOWLIST`. This requires GeoServer to be configured to use a proxy base URL without a path or ending with a slash.
- CVE-2025-52465High
In GeoServer, prior to versions 2.26.4 and 2.27.3, a vulnerability exists that allows an authenticated administrator to pass arbitrary file names to the Master Password Dump web page, potentially creating files containing the master password in plaintext.
- CVE-2025-21621Medium
GeoServer prior to version 2.25.0 contains a reflected cross-site scripting (XSS) vulnerability in the WMS GetFeatureInfo HTML output format, enabling a remote attacker to execute arbitrary JavaScript code in a victim's browser via specially crafted SLD_BODY parameters. This issue has been patched in version 2.25.0.
- CVE-2025-30145High
GeoServer allows execution of malicious Jiffle scripts, either as a rendering transformation in WMS dynamic styles or as a WPS process, which can enter an infinite loop and cause denial of service. The vulnerability is fixed in 2.27.0, 2.26.3, and 2.25.7 and can be mitigated by disabling WMS dynamic styling and the Jiffle process.
Original NVD description (English source)
GeoServer is an open source server that allows users to share and edit geospatial data. Prior to "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and prior to "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2, GeoServer exposes the built-in WFS 2.0 stored query urn:ogc:def:query:OGC-WFS::GetFeatureById through the public GetFeature operation. The stored query substituted the caller's ID parameter into an XML template without escaping, then parsed the result without GeoServer's entity resolver. An unauthenticated caller could inject XML, including an xi:include, into the query. This issue has been patched in "org.geoserver:gs-wfs-core" versions 2.27.7, 2.28.6, and 3.0.2 and "org.geotools:gt-metadata" versions 33.7, 34.6, and 35.2.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

