cve.bz

CVE-2026-120705 GeoServer: Unauthenticated WFS GetFeatureById XML injection

8.6 highKEVEPSS 23%Fix available

High (8.6) in OSGeo GeoServer. In CISA KEV since 2026-11-27. EPSS 23% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

8.6 high
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
EPSS
23% estimated probability of exploitation activity in the next 30 days; 98th percentile. Scored 2026-12-03. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2026-11-27, due 2026-11-30
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: partial, assessed 2026-11-30. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-91 XML Injection (Blind XPath Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
Assigned by
GitHub_M (CNA)
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-120705 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-120705?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-120705?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-120705 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
osgeo:geoserverbefore 2.27.7
osgeo:geoserverfrom 2.28.0 before 2.28.6
osgeo:geoserverfrom 3.0.0 before 3.0.2
osgeo:geotoolsbefore 33.7
osgeo:geotoolsfrom 34.0 before 34.6
osgeo:geotoolsfrom 35.0 before 35.2

GitHub PoC (unverified)

Repositories on GitHub named after this CVE. Nobody has checked them and they are not scanned: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it.

  • googlesky/CVE-2026-120705 0 stars, Python, created
    GeoServer gs-wfs-core < 2.27.7/2.28.6/3.0.2 stored-query XXE (CVE-2026-120705, HIGH): caller-influenced XML is parsed without an entity res…

Attack patterns (CAPEC)

  • CAPEC-83 XPath Injection Likelihood: High · Severity: High
  • CAPEC-250 XML Injection Likelihood: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

History

  1. Listed in CISA KEV
  2. Analyzed by the NVD

Changes since this site first stored the record. The same for every record: /api/public/changes.

References

Check your stackJSON