CVE-2026-126192

GHSA-4j63-6c4x-wfg4 · published 12 Nov 2026 · updated 13 Nov 2026

Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time

6.3MediumCVSS 6.3EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in soupsieve 2.10.0.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
facelessuser<2.10
pypi: soupsieve<2.10.0, <=2.9.22.10.0

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in soupsieve (PyPI), strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-126192 severity on Zeptric[![CVE-2026-126192](https://zeptric.io/badge/cve/CVE-2026-126192.svg)](https://zeptric.io/cve/CVE-2026-126192)