CVE-2026-120705

GeoServer: Unauthenticated WFS GetFeatureById XML injection

Published Nov 30, 2026 CVSS 3.1 · 8.6 High EPSS n/a KEV · Listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
First Time appeared Osgeo
Osgeo geoserver
Osgeo geotools
CPEs cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*
cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*
Vendors & Products Osgeo
Osgeo geoserver
Osgeo geotools
Type Values Removed Values Added
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.
Title GeoServer: Unauthenticated WFS GetFeatureById XML injection
Weaknesses CWE-91
References
Metrics cvssV3_1

{'score': 8.6, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N'}

kev

{'dateAdded': '2026-11-27T00:00:00+00:00', 'dueDate': '2026-11-30T00:00:00+00:00'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 30, 2026, 5:49 PM
Reserved
Nov 2, 2026, 7:50 PM
Status
Analyzed
Published
Nov 30, 2026, 6:18 PM
Modified
Nov 30, 2026, 8:55 PM