Skip to main content
VulnerabilityPublished

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

Affects adr-viewerSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium.

Data as of 13 Nov 2026, 21:17 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
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

Affected software

ProductAffectedFixed in
Homebrewadr-viewerpkg:brew/adr-viewerOther threatsAffected
  • >=1.3.0
Fixed in–

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

AI-suggested

This quadratic time behavior is an expected characteristic of :has() selectors with general sibling combinators and not a bug. Users should carefully design selectors to avoid applying :has() with general sibling combinators on elements with many children or untrusted input. Prefer using more restrictive combinators such as > or + inside :has() to limit traversal. Avoid overly general anchor selectors like *. If the risk is unacceptable, input containing :has() selectors can be rejected or calls to selector evaluation can be wrapped in timeouts to prevent long-running processes.

Description

CVE-2026-126192 is a performance-related vulnerability in Soup Sieve where using a general sibling combinator (~) inside the :has() CSS selector causes quadratic time complexity when matching against untrusted HTML. This can lead to significant CPU consumption and potential denial of service if an attacker controls the HTML input and the selector is applied. The issue arises because the selector implementation performs nested scans over sibling elements, causing processing time to grow quadratically with the number of siblings. The vulnerability affects Soup Sieve versions starting from 1.3.0. Mitigations include careful use of :has() selectors, avoiding large numbers of children on the anchor element, and preferring more restrictive combinators like > or + inside :has().

References

Community reviews

Loading reviews…