PT-2026-145872

CVE-2026-126189

·

Published

2026-11-12

·

Updated

2026-11-12

Description by

CVSS 3.1
5.3
Medium
MetricsAV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Name of the Vulnerable Software and Affected Versions Soup Sieve versions prior to 4.0.1
Description Soup Sieve, a CSS selector library for Beautiful Soup 4, contains an issue where it repeatedly searches descendant subtrees for each candidate evaluated by :has() and reevaluates parents containing :has(> ...) for each child. This leads to quadratic matching when processing deeply nested or wide HTML or XML documents influenced by an attacker. Applications using select(), select one(), or Beautiful Soup CSS APIs against untrusted documents may experience worker occupancy for seconds or minutes. Selectors compiled with NOCACHE maintain the old uncached behavior.
Recommendations Update Soup Sieve to version 4.0.1.
Exploitability
Exploit
Fix
Vendors
Affected products
Related identifiers
GHSA-8JVP-3X96-XPQW
Found an issue in the description? Have something to add? Feel free to write us 👾