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.
CVE-2026-120705
CVSS base score
8.6 (v3.1)
Severity
HIGH
Attack vector
Network
Weakness
CWE-91
Last modified
November 30, 2026
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Affected products
osgeo geoserver
osgeo geotools
References
- github.com Issue Tracking, Patch
- github.com Release Notes
- github.com Release Notes
- github.com Release Notes
- github.com Vendor Advisory
- osgeo-org.atlassian.net Issue Tracking, Vendor Advisory
- osgeo-org.atlassian.net Issue Tracking
- www.cisa.gov Third Party Advisory, US Government Resource