CVE-2026-120705
published high CVSS 3.1 · 8.6GeoServer: Unauthenticated WFS GetFeatureById XML injection
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| 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 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 8.6 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| geoserver | geoserver | < 33.7 (affected)>= 34.0, < 34.6 (affected)>= 35.0, < 35.2 (affected)< 2.27.7 (affected)>= 2.28.0, < 2.28.6 (affected)>= 3.0.0, < 3.0.2 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-91 CWE-91: XML Injection
References
8- https://github.com/geoserver/geoserver/pull/9928
- https://github.com/geoserver/geoserver/releases/tag/2.27.7
- https://github.com/geoserver/geoserver/releases/tag/2.28.6
- https://github.com/geoserver/geoserver/releases/tag/3.0.2
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705
Provider assertions
2GitHub_M · cna
GeoServer: Unauthenticated WFS GetFeatureById XML injection
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4ba7793493cb3513aaa3a2229d83c579618c5e297b86a1a26bfb504cf3e80336
- Ingested
- 30 Nov 2026, 18:35:10 UTC
- Source record
- Official CVE record