{"id":"CVE-2026-120705","aliases":["CVE-2026-120705"],"related":[],"kind":"vulnerability","state":"published","title":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"OsGeo GeoServer contains an XML injection vulnerability that allows an unauthenticated remote attacker to cause the server to read local text files accessible to the GeoServer process or fetch attacker-specified HTTP or HTTPS URLs via a crafted ID parameter in the WFS 2.0 GetFeatureById stored query. This vulnerability can be chained with CVE-2026-129244, CVE-2026-129243, CVE-2026-129245, and CVE-2026-129242 to achieve unauthenticated remote code execution on an affected GeoServer instance.","source":"kev"}],"published":"2026-11-30T17:39:13.427Z","modified":"2026-11-30T20:55:31.557Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"}],"cwes":["CWE-91","CWE-611","CWE-918"],"affected":[{"ranges":[{"version":"< 33.7","status":"affected"},{"version":">= 34.0, < 34.6","status":"affected"},{"version":">= 35.0, < 35.2","status":"affected"},{"version":"< 2.27.7","status":"affected"},{"version":">= 2.28.0, < 2.28.6","status":"affected"},{"version":">= 3.0.0, < 3.0.2","status":"affected"}],"vendor":"geoserver","product":"geoserver","source":"cvelist"},{"ranges":[{"status":"affected","fixed":"2.27.7"},{"status":"affected","introduced":"2.28.0","fixed":"2.28.6"},{"status":"affected","introduced":"3.0.0","fixed":"3.0.2"}],"vendor":"osgeo","product":"geoserver","cpe":"cpe:2.3:a:osgeo:geoserver:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","fixed":"33.7"},{"status":"affected","introduced":"34.0","fixed":"34.6"},{"status":"affected","introduced":"35.0","fixed":"35.2"}],"vendor":"osgeo","product":"geotools","cpe":"cpe:2.3:a:osgeo:geotools:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[],"vendor":"OSGeo","product":"GeoServer","source":"kev"}],"references":[{"url":"https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47","tags":["kev","vendor-advisory","x-refsource-confirm"],"sources":["cvelist","nvd","kev"]},{"url":"https://github.com/geoserver/geoserver/pull/9928","tags":["issue-tracking","patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/geoserver/geoserver/releases/tag/2.27.7","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/geoserver/geoserver/releases/tag/2.28.6","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/geoserver/geoserver/releases/tag/3.0.2","tags":["release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://osgeo-org.atlassian.net/jira/browse/GEOS-12199","tags":["issue-tracking","vendor-advisory","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://osgeo-org.atlassian.net/jira/browse/GEOT-7938","tags":["issue-tracking","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705","tags":["government-resource","third-party-advisory","us-government-resource"],"sources":["cvelist","nvd"]},{"url":"https://geoserver.org/vulnerability/2026/11/23/cve-update.html","tags":["kev"],"sources":["kev"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk","tags":["kev"],"sources":["kev"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120705","tags":["kev"],"sources":["kev"]}],"credits":[],"assigner":"GitHub_M","kev":{"dateAdded":"2026-11-27","dueDate":"2026-11-30","name":"OSGeo GeoServer XML Injection Vulnerability","requiredAction":"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.","ransomware":false,"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"},"ssvc":{"scorer":"CISA-ADP","exploitation":"active","automatable":"yes","technicalImpact":"partial","date":"2026-11-30T17:49:46.325Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-120705","url":"https://www.cve.org/CVERecord?id=CVE-2026-120705","licence":"CVE Terms of Use","modified":"2026-11-30T17:49:49.345Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-120705","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-120705","licence":"Public domain","modified":"2026-11-30T20:55:31.557Z"},{"source":"kev","name":"CISA KEV","id":"CVE-2026-120705","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?search_api_fulltext=CVE-2026-120705","licence":"CC0-1.0","modified":"2026-11-27T00:00:00.000Z"}],"updatedAt":"2026-11-30T21:02:33.847Z","epss":{"score":0.2124,"percentile":0.97648,"date":"2026-12-01T12:00:22.000Z"}}