{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.10"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "ffb88cca745c591224f74a8e86414a85e8f35fc0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "2.10",
                "range": [
                  {
                    "fixed": "fc195cd50a6b9a00a86531ab6b9a2e59bd26f608"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fc195cd50a6b9a00a86531ab6b9a2e59bd26f608"
            },
            {
              "fixed": "ffb88cca745c591224f74a8e86414a85e8f35fc0"
            }
          ],
          "repo": "https://github.com/facelessuser/soupsieve",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4j63-6c4x-wfg4"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-400",
      "CWE-407"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126192.json"
  },
  "details": "Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's following siblings when the right-hand side is absent, producing quadratic work on attacker-controlled HTML. Applications that evaluate a fixed selector such as div:has(a ~ b) over untrusted markup can have a worker occupied for minutes by a small document, while the adjacent sibling form and trusted-only document processing are not affected in the same way. This issue is fixed in version 2.10.",
  "id": "CVE-2026-126192",
  "modified": "2026-11-14T02:30:15.764125138Z",
  "published": "2026-11-12T17:09:14.205Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/facelessuser/soupsieve/releases/tag/2.10"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/126xxx/CVE-2026-126192.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-126192"
    },
    {
      "type": "FIX",
      "url": "https://github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/facelessuser/soupsieve/pull/304"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time"
}