Skip to main content
VulnerabilityPublished

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

Affects favaSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : upgrade to 1.30.16_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 1.30.16_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 fava to 1.30.16_1.

Affected software

ProductAffectedFixed in
Homebrewfavapkg:brew/favaOther threatsAffected
  • >=1.14 <1.30.16_1
Fixed in
  • 1.30.16_1

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

AI-suggested

A patch is available in version 1.30.16_1 of the affected product and should be applied to resolve this performance issue. Users should also avoid applying selectors with general sibling combinators inside :has() on untrusted HTML, especially when the anchor element has many children or when the inner selector is not tightly constrained. Using combinators like > or + inside :has() can reduce traversal and improve performance. Additionally, user input can be scanned to detect and deny selectors containing :has(), or selector evaluation can be wrapped in timeouts to prevent long-running processes. These mitigations reduce the risk of CPU exhaustion attacks.

Description

CVE-2026-126192 describes a performance-related vulnerability in Soup Sieve when using the CSS selector pattern with a general sibling combinator inside :has(), such as div:has(a ~ b). This pattern causes the selector matching to run in quadratic time relative to the number of sibling elements, leading to potentially long CPU processing times on untrusted HTML inputs. The issue arises because the implementation performs nested scans for each candidate element without short-circuiting when the right-hand side element is absent. This can be exploited to cause denial of service by stalling applications that run such selectors on attacker-controlled HTML. The vulnerability is mitigated by careful use of :has() selectors, limiting the scope of the anchor and inner selectors, and by applying patches available in version 1.30.16_1 of the affected product.

References

Community reviews

Loading reviews…