freenode

← CVE tracker

CVE-2026-126193

Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selectors exhaust the Python call stack

Severity
medium CVSS 5.3 (v3.1)
Affects
soupsieve · facelessuser
Weakness
CWE-674: Uncontrolled Recursion
Published
12 November 2026 by GitHub_M
Soup Sieve is a CSS selector library for Beautiful Soup. From 0.4 until 3.0, deeply nested CSS pseudo-class selectors can cause recursive parsing to exceed Python’s recursion limit and raise  RecursionError . Applications accepting untrusted selectors may experience failure of the affected request or task if the exception is not handled. The demonstrated behavior is recoverable and does not establish an interpreter crash or persistent service-wide denial of service. This vulnerability is fixed in version 3.0.

Our coverage

We have not written about this one. Know why it matters? Send a tip.