Vulnerability
CVE-2026-126192
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.
42 advisories report this vulnerability, across 6 ecosystems.
Advisories
-
AZL-113914
CVE-2026-126192 affecting package python-soupsieve 2.6-3
- CGA-2772-5946-hh8h
- CGA-287q-q7w7-mw23
- CGA-2r4m-gwvx-xwwf
- CGA-2vmp-2g29-rx6h
- CGA-3xq7-x7p7-c89f
- CGA-4g62-2wh2-8qpw
- CGA-5mwr-7gx4-v96r
- CGA-64hp-f6hw-fww8
- CGA-74x8-8c28-7jwq
- CGA-78hq-2v7q-cwfg
- CGA-7qwg-7mv2-fvh3
- CGA-82fg-35f9-42w2
- CGA-888x-36w9-p7xw
- CGA-8g6g-4wqf-m47x
- CGA-8pmw-484r-w24q
- CGA-9mw8-rf58-4c66
- CGA-c66g-34cp-gx93
- CGA-crj5-j95v-r844
- CGA-f6gf-wh69-v8x2
- CGA-g2cc-qfq4-j6gc
- CGA-gf63-4g6w-59wf
- CGA-gvm7-579r-v9vj
- CGA-h2w9-4fqr-m57g
- CGA-hmvq-3v68-xpp2
- CGA-jx8g-g2fx-8h7w
- CGA-m7w8-mhfg-7vqc
- CGA-mmfq-4hgv-298h
- CGA-mrrq-9jgf-h38j
- CGA-phj4-jcqm-6cj7
- CGA-q958-7rvc-46x6
- CGA-qp24-479g-9f33
- CGA-r6vc-35xj-rq5p
- CGA-rwr8-pwjw-8mcq
- CGA-v9rq-vg9p-fvgj
- CGA-vg74-vr45-3f2q
- CGA-vqcv-2vfq-m2cr
- CGA-w5fp-vvp6-rq74
- CGA-x2q2-x6w6-88r4
-
DEBIAN-CVE-2026-126192
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…
-
GHSA-4j63-6c4x-wfg4
Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
-
UBUNTU-CVE-2026-126192
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…