THREAT OPS › Threat News › [GHSA] GHSA-4j63-6c4x-wfg4 (medium) — Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
[GHSA] GHSA-4j63-6c4x-wfg4 (medium) — Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
GHSA-4j63-6c4x-wfg4 Severity: medium CVE: CVE-2026-126192
Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
## Summary
Matching a selector that puts a general-sibling combinator inside `:has()`, such as `div:has(a ~ b)`, against untrusted HTML runs in O(n²) time in the number of sibling elements. A single small document with a few thousand siblings ti
Indicators of compromise
- CVE-2026-126192cve
- https://developer.mozilla.org/en-US/docs/Web/CSS/Reference/Selectors/:has#performance_considerationsurl
Original source: https://github.com/advisories/GHSA-4j63-6c4x-wfg4