Read the docs

Unauthenticated XML injection in GeoServer WFS GetFeatureById

Priority CRITICAL 94Exploited in the wildCWE-91Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

GeoServer versions before 2.27.7, from 2.28.0 before 2.28.6, and from 3.0.0 before 3.0.2 are affected. The built-in WFS GetFeatureById stored query inserts the caller's ID into an XML template without escaping, which is an XML injection flaw (CWE-91). An unauthenticated remote attacker can inject XML, including an xi:include, through the public GetFeature operation. CISA lists this vulnerability in the Known Exploited Vulnerabilities catalog, with a date added of 2026-11-27.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

Description from the CNA

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.

Why it matters now

Exploitation Active In CISA KEV since 2026-11-27CISA due date 2026-11-30
Fix Fixed geoserver (geoserver): 33.7, 34.6, 35.2 +3

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Active
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
geoservergeoserverbefore 33.7; 34.0 to before 34.6; 35.0 to before 35.2; before 2.27.7; 2.28.0 to before 2.28.6; 3.0.0 to before 3.0.233.7, 34.6, 35.2, 2.27.7, 2.28.6, 3.0.2Patch availableCNA
  • geoserver Vendorgeoserver Affected before 33.7; 34.0 to before 34.6; 35.0 to before 35.2; before 2.27.7; 2.28.0 to before 2.28.6; 3.0.0 to before 3.0.2 Fixed in 33.7, 34.6, 35.2, 2.27.7, 2.28.6, 3.0.2 Patch available CNA

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*before 2.27.7; 2.28.0 to before 2.28.6; 3.0.0 to before 3.0.2VulnerableOSGeo
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*before 33.7; 34.0 to before 34.6; 35.0 to before 35.2VulnerableOSGeo
  • cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:* Versions before 2.27.7; 2.28.0 to before 2.28.6; 3.0.0 to before 3.0.2 Vulnerable ·OSGeo
  • cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:* Versions before 33.7; 34.0 to before 34.6; 35.0 to before 35.2 Vulnerable ·OSGeo

Remediation

Upgrade GeoServer to 2.27.7, 2.28.6, or 3.0.2, or upgrade gt-metadata to 33.7, 34.6, or 35.2. CISA requires U.S. federal agencies to fix this vulnerability by 2026-11-30.

Written with Claude Haiku 5.5 from the sources below · 2026-11-30

  • Fix · CNA geoserver (geoserver) Fixed in 33.7, 34.6, 35.2, 2.27.7, 2.28.6, 3.0.2

Timeline

  1. 2026-11-27 Added to CISA KEV
  2. 2026-11-30 Threatist record created from CVE-2026-120705
  3. 2026-11-30 CISA SSVC decision points changed

References

  • TI-2024-24187 Remote code execution in GeoServer via property name expressions KEVCVSS 3.1CRITICAL 9.8
  • TI-2025-36149 Unauthenticated XXE in GeoServer WMS GetMap request KEVCVSS 3.1CRITICAL 9.8
  • TI-2026-101125 Service security bypass in GeoServer via prefixed service names KEVCVSS 4.0HIGH 8.8
  • TI-2023-28098 GeoServer arbitrary file upload vulnerability in REST Coverage Store API CVSS 3.1HIGH 7.2
  • TI-2024-23300 Welcome and About GeoServer pages communicate version and revision information CVSS 3.1MEDIUM 5.3
  • TI-2023-10619 Unfiltered SQL Injection Vulnerabilities in Geoserver CVSS 3.1CRITICAL 9.8
See all 34 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences