Radar · CyberSafe

HIGH · 8.6

CVE-2026-120705

GeoServer: Unauthenticated WFS GetFeatureById XML injection

Other identifiers: GHSA-39MW-5CHV-JH47

Description

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.

Details

Severity
HIGH 8.6
KEV
in the catalog since 2026-11-27, due 2026-11-30
Fix
available
Published
First seen
Updated

CVSS scores

VersionScoreSeverityVectorSource
3.18.6highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:Ncve.org
3.18.6highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:Nnvd

Affected products

ProductVersionsFixed in
osgeo / geoserver
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
osgeo / geoserver<2.27.7
osgeo / geoserver>=2.28.0 <2.28.6
osgeo / geoserver>=3.0.0 <3.0.2
osgeo / geotools<33.7
osgeo / geotools>=34.0 <34.6
osgeo / geotools>=35.0 <35.2

Sources

Timeline

  1. UPDATED (10 hours ago)affected_added: [map[ecosystem: product:geotools vendor:osgeo]]
  2. FIX (11 hours ago)fix: unknown → available
  3. UPDATED (13 hours ago)affected_added: [map[ecosystem: product:geoserver vendor:geoserver]]
  4. SCORE (13 hours ago)severity: unknown → high
  5. NEW (1 day ago)