Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.6actively exploitedCVE-2026-120705

GeoServer: Unauthenticated XML injection in WFS GetFeatureById stored query

Published 30/11/2026 · Updated 30/11/2026 · geoserver

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 inserts the caller-supplied ID parameter into an XML template without escaping. The result is then parsed without GeoServer's entity resolver. An attacker can therefore inject arbitrary XML, including xi:include, into the query (CWE-91).

Per the CVSS vector (8.6, High), the attack is network-based, low complexity, and requires no authentication or user interaction. Scope is changed, so the impact can extend to resources beyond the vulnerable component. The primary impact is a high loss of confidentiality, with no impact on integrity or availability.

The vulnerability is listed in the CISA KEV catalog (added 2026-11-27, due 2026-11-30), meaning it is actively exploited. Remediation is urgent.

Who is affected

Any organization running GeoServer with gs-wfs-core older than 2.27.7, 2.28.6 or 3.0.2, or GeoTools gt-metadata older than 33.7, 34.6 or 35.2, especially where WFS is internet-facing.

What to do

  1. Urgently upgrade GeoServer to 2.27.7, 2.28.6 or 3.0.2, depending on your release branch.
  2. If you use GeoTools separately, upgrade org.geotools:gt-metadata to 33.7, 34.6 or 35.2.
  3. Identify GeoServer instances and WFS endpoints exposed to the internet. Restrict access to them (e.g., firewall or VPN) until patched.
  4. Review logs for WFS GetFeature requests using GetFeatureById with unusual ID values (e.g., XML, xi:include). Perform forensic triage, as this vulnerability is actively exploited.
  5. Follow vendor advisory GHSA-39mw-5chv-jh47 for any further guidance.

Actively exploited (CISA KEV)

Added to the catalog
27/11/2026
Remediation due (CISA)
30/11/2026
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.

Affected products and versions

geoserver geoserver< 33.7 · >= 34.0, < 34.6 · >= 35.0, < 35.2 · < 2.27.7 · >= 2.28.0, < 2.28.6 · >= 3.0.0, < 3.0.2

CVSS vector, explained

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N

Attack vector
Network (from the internet)
Attack complexity
Low
Privileges required
None (no login)
User interaction
Not required
Scope
Affects other components
Confidentiality
High impact
Integrity
None
Availability
None

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.