{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5e31e44bf42b7ebfd61d17e39b18b942b2ed6b18"
            },
            {
              "introduced": "ec14c6e4d6bc82f63c3d8189f59cc89e67e8ec16"
            },
            {
              "fixed": "3897cf8e926cb2385e1e3f1dabc52b611945eda5"
            },
            {
              "introduced": "aabee928471a8c61484ab1c8c2f9dbf3f6af94c5"
            },
            {
              "fixed": "fe9d9b8cbe04b334c90b6afb6fdd7951992cb245"
            }
          ],
          "repo": "https://github.com/geoserver/geoserver",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-39mw-5chv-jh47"
  ],
  "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"
          }
        ]
      }
    ]
  },
  "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.",
  "id": "CVE-2026-120705",
  "modified": "2026-11-30T18:45:40.314616638Z",
  "published": "2026-11-30T17:39:13.427Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/120xxx/CVE-2026-120705.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/geoserver/geoserver/pull/9928"
    },
    {
      "type": "WEB",
      "url": "https://github.com/geoserver/geoserver/releases/tag/2.27.7"
    },
    {
      "type": "WEB",
      "url": "https://github.com/geoserver/geoserver/releases/tag/2.28.6"
    },
    {
      "type": "WEB",
      "url": "https://github.com/geoserver/geoserver/releases/tag/3.0.2"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/geoserver/geoserver/security/advisories/GHSA-39mw-5chv-jh47"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-120705"
    },
    {
      "type": "WEB",
      "url": "https://osgeo-org.atlassian.net/jira/browse/GEOS-12199"
    },
    {
      "type": "WEB",
      "url": "https://osgeo-org.atlassian.net/jira/browse/GEOT-7938"
    },
    {
      "type": "WEB",
      "url": "https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-120705"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "GeoServer: Unauthenticated WFS GetFeatureById XML injection"
}