{"id":"CVE-2026-126191","published":"2026-11-12T16:57:01Z","modified":"2026-11-13T18:54:06Z","title":"Soup Sieve: Exponential ReDoS in selector compilation via \\9-run in CSS_ESCAPES/IDENTIFIER","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 3.0, the CSS_ESCAPES and IDENTIFIER regular-expression subpatterns can backtrack exponentially on runs of ambiguous digit escapes in an attribute-name or tag position of an otherwise valid selector. The failure occurs during selector compilation through soupsieve.compile() or Beautiful Soup select() before SELECTOR_LIMIT is applied, so an application that accepts untrusted selector strings can have a worker stalled by a short input. This issue is fixed in version 3.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00434,"percentile":0.3857,"provenance":"source"},"cwes":[{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-6655-6qjp-jx7x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facelessuser/soupsieve/pull/300","tags":["x_refsource_MISC"]},{"url":"https://github.com/facelessuser/soupsieve/commit/dbfa2854ff31a863326bd6660d4e55c6f068db9e","tags":["x_refsource_MISC"]},{"url":"https://github.com/facelessuser/soupsieve/releases/tag/3.0","tags":["x_refsource_MISC"]}],"priority":{"score":13.0,"factors":[{"name":"EPSS percentile","points":7.71},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"facelessuser","affectedVersions":[{"vendor":"facelessuser","product":"soupsieve","versions":["< 3.0"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-11-13T18:52:59.234584Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"soupsieve","vulnerableRanges":["<3.0.2"],"patched":["3.0.2"],"from":["GHSA-6655-6qjp-jx7x"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-124551","exploited":false,"provenance":"source"}}