CVE-2026-126192
Soup Sieve is a CSS selector library designed to be used with …
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's following siblings when the right-hand side is absent, producing quadratic work on attacker-controlled HTML. Applications that evaluate a fixed selector such as div:has(a ~ b) over untrusted markup can have a worker occupied for minutes by a small document, while the adjacent sibling form and trusted-only document processing are not affected in the same way. This issue is fixed in version 2.10.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0
- github.com/facelessuser/soupsieve/pull/304
- github.com/facelessuser/soupsieve/releases/tag/2.10
- github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4
- nvd.nist.gov/vuln/detail/CVE-2026-126192
- github.com/advisories/GHSA-4j63-6c4x-wfg4
- nvd.nist.gov/vuln/detail/CVE-2026-126192
- cve.org/CVERecord?id=CVE-2026-126192
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.