GeoServer: Unauthenticated WFS GetFeatureById XML injection
Summary
| CVE | CVE-2026-120705 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-11-30 18:18:29 UTC |
| Updated | 2026-11-30 20:55:31 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 8.6 HIGH from [email protected]
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS: 0.212400000 probability, percentile 0.976480000 (date 2026-12-01)
CISA KEV: Listed on 2026-11-27; due 2026-11-30; ransomware use Unknown
Problem Types: CWE-91 | CWE-91 CWE-91: XML Injection
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 8.6 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
| 3.1 | CNA | DECLARED | 8.6 | HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
NoneUser Interaction
NoneScope
ChangedConfidentiality
HighIntegrity
NoneAvailability
NoneCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CISA Known Exploited Vulnerability
| Vendor | OSGeo |
|---|---|
| Product | GeoServer |
| Name | OSGeo GeoServer XML Injection Vulnerability |
| Required Action | Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines. |
| Notes | https://geoserver.org/vulnerability/2026/11/23/cve-update.html ; https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-120705 |
NVD Known Affected Configurations (CPE 2.3)
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Geoserver | Geoserver | affected < 33.7 | Not specified |
| CNA | Geoserver | Geoserver | affected >= 34.0, < 34.6 | Not specified |
| CNA | Geoserver | Geoserver | affected >= 35.0, < 35.2 | Not specified |
| CNA | Geoserver | Geoserver | affected < 2.27.7 | Not specified |
| CNA | Geoserver | Geoserver | affected >= 2.28.0, < 2.28.6 | Not specified |
| CNA | Geoserver | Geoserver | affected >= 3.0.0, < 3.0.2 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| osgeo-org.atlassian.net/jira/browse/GEOT-7938 | [email protected] | osgeo-org.atlassian.net | Issue Tracking |
| www.cisa.gov/known-exploited-vulnerabilities-catalog | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | www.cisa.gov | Third Party Advisory, US Government Resource |
| osgeo-org.atlassian.net/jira/browse/GEOS-12199 | [email protected] | osgeo-org.atlassian.net | Issue Tracking, Vendor Advisory |
| github.com/geoserver/geoserver/releases/tag/2.27.7 | [email protected] | github.com | Release Notes |
| github.com/geoserver/geoserver/pull/9928 | [email protected] | github.com | Issue Tracking, Patch |
| github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47 | [email protected] | github.com | Vendor Advisory |
| github.com/geoserver/geoserver/releases/tag/3.0.2 | [email protected] | github.com | Release Notes |
| github.com/geoserver/geoserver/releases/tag/2.28.6 | [email protected] | github.com | Release Notes |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
| CISA Known Exploited Vulnerabilities catalog | CISA | www.cisa.gov | kev |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.