- Home
- Vulnerabilities
- CVE-2026-120705
CVE-2026-120705
GeoServer: Unauthenticated WFS GetFeatureById XML injection
Summary
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.
Affected products and versions
Geoserver (1 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Geoserver | Versions not specified | — | CNA (vendor or assigner) |
Osgeo (6 line(s))
| Product | Versions | Fixed in | Source |
|---|---|---|---|
| Geoserver | before 2.27.7 (excluded) |
— | NVD |
| Geoserver | from 2.28.0 (included) to 2.28.6 (excluded) |
— | NVD |
| Geoserver | from 3.0.0 (included) to 3.0.2 (excluded) |
— | NVD |
| Geotools | before 33.7 (excluded) |
— | NVD |
| Geotools | from 34.0 (included) to 34.6 (excluded) |
— | NVD |
| Geotools | from 35.0 (included) to 35.2 (excluded) |
— | NVD |
Fix
Not provided by the vendor.
Workaround
No workaround provided.
Check whether you are affected
No verification method provided.
Timeline
- — Added to KEV catalogue (cisa-kev)
- — Exploitation observed (cisa-ssvc) date first seen
- — CVE published (cve)
References
- https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47Vendor Advisory
- https://github.com/geoserver/geoserver/pull/9928Issue Tracking, Patch
- https://osgeo-org.atlassian.net/jira/browse/GEOS-12199Issue Tracking, Vendor Advisory
- https://github.com/geoserver/geoserver/releases/tag/2.27.7Release Notes
- https://github.com/geoserver/geoserver/releases/tag/2.28.6Release Notes
- https://github.com/geoserver/geoserver/releases/tag/3.0.2Release Notes
- https://osgeo-org.atlassian.net/jira/browse/GEOT-7938Issue Tracking
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705Third Party Advisory, US Government Resource
Data provenance
- Status
- NVD
- Publication date
- NVD
- Description
- CNA (vendor or assigner)
- CVSS score
- CNA (vendor or assigner)
- Weakness (CWE)
- NVD
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N(CVSS 3.1, CNA:security-advisories@github.com)- Weakness
- CWE-91 · Autre (CWE-91)