StraitOfVuln
Latest / CVE-2026-126189

CVE-2026-126189

MediumCVSS 5.3 (v3.1)Awaiting Analysis
CVE.org ↗NVD ↗

Description

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has() and repeatedly reevaluates a parent containing :has(> ...) for each child, causing quadratic matching on deeply nested or wide attacker-influenced HTML or XML. Applications using ordinary fixed selectors through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while applications that process only trusted documents are not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.0.1.

Details

CVE ID
CVE-2026-126189
Published / updated
12 Nov 2026, 17:17 UTC · last modified 16 Nov 2026, 19:17 UTC
Severity
MEDIUM
CVSS score
5.3 · v3.1 · CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L · Attack vector: Network
Affected vendor
facelessuser
Affected products
soupsieve
Affected versions
soupsieve: < 4.0.1
From the publisher's (CNA) CVE record. NVD analysis is pending.
Fixed versions
Not stated in the data. Check the vendor advisory.
Exploitation status
Not in CISA KEV (no confirmed exploitation recorded)
EPSS
0.45% probability of exploitation in the next 30 days · 41% percentile (03 Dec 2026)
Weakness
Remediation
See the vendor advisory below.
Source (CNA)
security-advisories@github.com