THREATOPS
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

highgithub_advisoriesPublished 2026-11-13

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

Original source: https://github.com/advisories/GHSA-4j63-6c4x-wfg4