Elevated
soupsieve selector compilation regex stalls on short input
CVE-2026-126191
Scraping programs taking user input can be stalled by a short input.
- CVE
- CVE-2026-126191 (opens in a new tab)
- Score
- CVSS 7.5
- First seen
7.5
Products
Mitigation
Update to version 3.0 or later.
Summary
A regex in soupsieve's selector compilation can take exponential time, so an application that accepts untrusted selector strings can have a worker stalled by a short input. Web-scraping services and user-defined extraction rules are affected.
Exploit code is public
Affected when
An application that compiles untrusted CSS selector strings
4 other Incidents of this product in the last 30 days
Incidents by product: soupsieve
Other recent Incidents of soupsieve
Distribution packages (2) (every link below opens in a new tab)
- Debian 13 (trixie)soupsieve · not fixed yet
- Debian 12 (bookworm)soupsieve · not fixed yet
Sources: Debian Security Tracker
Read the advisory · github.com (opens in a new tab)
- Advisory: github.com (opens in a new tab)
- CVE record: cve.org (opens in a new tab)