{"id":"CVE-2026-126192","published":"2026-11-12T17:09:14Z","modified":"2026-11-13T00:20:38Z","title":"Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time","vendor":"facelessuser","product":"soupsieve","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00477,"percentile":0.42108,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-407","name":"Inefficient Algorithmic Complexity"}],"references":[{"url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facelessuser/soupsieve/pull/304","tags":["x_refsource_MISC"]},{"url":"https://github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0","tags":["x_refsource_MISC"]},{"url":"https://github.com/facelessuser/soupsieve/releases/tag/2.10","tags":["x_refsource_MISC"]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.42},{"name":"CVSS severity","points":4.41}]},"vendorSlug":"facelessuser","affectedVersions":[{"vendor":"facelessuser","product":"soupsieve","versions":["< 2.10"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-13T00:20:14.507190Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"soupsieve","vulnerableRanges":["<2.10.0"],"patched":["2.10.0"],"from":["GHSA-4j63-6c4x-wfg4"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-124557","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-49477","published":"2026-07-14","fixed":"2.8.4","kev":false},{"cve":"CVE-2026-85999","published":"2026-09-17","fixed":"2.9.0","kev":false,"link":{"from":"CVE-2026-85999","to":"CVE-2026-126192","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:soupsieve","fromFixed":"2.9.0","toFixed":"2.10.0","daysApart":56}]}},{"cve":"CVE-2026-86000","published":"2026-09-17","fixed":"2.9.0","kev":false},{"cve":"CVE-2026-126192","published":"2026-11-12","fixed":"2.10.0","kev":false},{"cve":"CVE-2026-126191","published":"2026-11-12","fixed":"3.0.2","kev":false},{"cve":"CVE-2026-126193","published":"2026-11-12","fixed":"3.0.2","kev":false},{"cve":"CVE-2026-126190","published":"2026-11-12","fixed":"4.0.0","kev":false}],"package":"PyPI:soupsieve"}}