Skip to main content
VulnerabilityPublished

CVE-2026-126192: Soup Sieve · General sibling combinator inside :has() matches untrusted HTML in quadratic time

Affects dnsrobocertSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126192· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 3.27.1_1 or 3.24.1_1 when convenient.

Data as of 13 Nov 2026, 21:55 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 4.06.3
Patch
Available – fixed in 3.27.1_1, 3.24.1_1
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Nov 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 13 Nov 2026.

What to do

Upgrade dnsrobocert to 3.27.1_1 or 3.24.1_1.

Affected software

ProductAffectedFixed in
Homebrewdnsrobocertpkg:brew/dnsrobocertOther threatsAffected
  • >=3.24.1 <3.24.1_1
  • >=3.25.0 <3.27.1_1
Fixed in
  • 3.24.1_1
  • 3.27.1_1

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in versions 3.24.1_1 and 3.27.1_1 of the affected product. Users should upgrade to these versions to mitigate the issue. Additionally, developers should avoid using :has() with the general sibling combinator (~) on elements with many children or on untrusted HTML. Prefer using combinators like > or + inside :has() to limit traversal. If necessary, input containing :has() selectors can be scanned and rejected, or selector evaluation can be wrapped in timeouts to prevent long-running processes. The quadratic time behavior is expected in some cases and not a bug, so careful use of :has() is recommended.

Description

CVE-2026-126192 describes a performance issue in Soup Sieve when using a CSS selector with a general sibling combinator inside :has(), such as div:has(a ~ b). This selector runs in quadratic time relative to the number of sibling elements when matched against untrusted HTML, causing potentially long CPU usage. The issue arises because the implementation performs nested scans for each candidate element, leading to O(n²) complexity. This can cause denial of service by stalling applications processing attacker-controlled HTML with such selectors. The vulnerability is mitigated by avoiding overly broad use of :has() with general sibling combinators and by applying patches available in fixed versions.

References

Community reviews

Loading reviews…