CVE-2026-120705

Source
https://cve.org/CVERecord?id=CVE-2026-120705
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120705.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-120705
Aliases
  • GHSA-39mw-5chv-jh47
Downstream
CGA (6)
Published
2026-11-30T17:39:13Z
Modified
2026-11-30T19:00:21Z
Severity
  • 8.6 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N CVSS Calculator
Summary
GeoServer: Unauthenticated WFS GetFeatureById XML injection
Details

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.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-91"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120705.json",
    "unresolved_ranges":  [
        {
            "extracted_events":  [
                {
                    "range":  [
                        {
                            "fixed":  "33.7"
                        },
                        {
                            "introduced":  "34.0"
                        },
                        {
                            "fixed":  "34.6"
                        },
                        {
                            "introduced":  "35.0"
                        },
                        {
                            "fixed":  "35.2"
                        }
                    ],
                    "source":  "AFFECTED_FIELD",
                    "strategy":  "StringRangeExpression"
                }
            ]
        }
    ]
}
References

Affected packages

Git / github.com/geoserver/geoserver

Affected ranges

Type
GIT
Repo
https://github.com/geoserver/geoserver
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "2.27.7"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "2.28.0"
                },
                {
                    "fixed":  "2.28.6"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "range":  [
                {
                    "introduced":  "3.0.0"
                },
                {
                    "fixed":  "3.0.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "original_tag":  "2.27.7",
            "range":  [
                {
                    "fixed":  "5e31e44bf42b7ebfd61d17e39b18b942b2ed6b18"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "2.28.6",
            "range":  [
                {
                    "fixed":  "3897cf8e926cb2385e1e3f1dabc52b611945eda5"
                }
            ],
            "source":  "REFERENCES_TAG"
        },
        {
            "original_tag":  "3.0.2",
            "range":  [
                {
                    "fixed":  "fe9d9b8cbe04b334c90b6afb6fdd7951992cb245"
                }
            ],
            "source":  "REFERENCES_TAG"
        }
    ]
}

Affected versions

2.*
2.11-beta
2.21-M0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-120705.json"