{"id":"CVE-2026-49477","published":"2026-07-14T20:51:29Z","modified":"2026-07-21T14:49:40Z","title":"Soup Sieve: Regular Expression Denial of Service (ReDoS) in soupsieve Selector Parser","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.8.4, the CSS selector parser in soupsieve contains a regular expression vulnerable to catastrophic backtracking when processing an attribute selector with an unterminated quoted value in soupsieve/css_parser.py, allowing an attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup .select() / .select_one() to cause CPU exhaustion and denial of service. This issue is fixed in version 2.8.4.","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.00644,"percentile":0.51817,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"},{"id":"CWE-1333","name":"Inefficient Regular Expression Complexity"}],"references":[{"url":"https://github.com/facelessuser/soupsieve/security/advisories/GHSA-836r-79rf-4m37","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/facelessuser/soupsieve/commit/eb4397618709186c109400448c6043b728217dc3","tags":["x_refsource_MISC"]},{"url":"https://github.com/facelessuser/soupsieve/releases/tag/2.8.4","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":10.36},{"name":"CVSS severity","points":5.25}]},"vendorSlug":"facelessuser","affectedVersions":[{"vendor":"facelessuser","product":"soupsieve","versions":["< 2.8.4"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2026-07-21T14:49:25.096784Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"soupsieve","vulnerableRanges":["<2.8.4"],"patched":["2.8.4"],"from":["GHSA-836r-79rf-4m37","PYSEC-2026-3072"],"provenance":"source"}],"summary":{"text":"The flaw is a regular expression in the CSS selector parser of soupsieve, a CSS selector library used with Beautiful Soup 4, which is vulnerable to catastrophic backtracking when handling attribute selectors with an unterminated quoted value. An attacker who can supply untrusted CSS selector strings to soupsieve.compile() or Beautiful Soup's .select() and .select_one() methods can exhaust CPU and cause a denial of service, with no authentication, network access or user interaction required.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:28:13Z"},"euvd":{"id":"EUVD-2026-44538","exploited":false,"provenance":"source"}}