CSS Selector Library Vulnerability in Beautiful Soup 4 by FacelessUser
CVE-2026-126190

7.5HIGH

Key Information:

Status
Vendor
CVE Published:
12 November 2026

What is CVE-2026-126190?

The Soup Sieve library, used with Beautiful Soup 4 for CSS selector parsing, contains a vulnerability that causes performance degradation when processing deeply nested attacker-controlled HTML or XML documents. This issue arises due to the library walking the same ancestor nodes repeatedly while matching descendant combinators. As a result, applications using certain selectors against untrusted documents may experience significant delays, with workers potentially being occupied for extended periods of time. Users are advised to upgrade to version 4.0 to mitigate this issue.

Affected Version(s)

soupsieve < 4.0

References

CVSS V3.1

Score:
7.5
Severity:
HIGH
Confidentiality:
None
Integrity:
None
Availability:
None
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.