Skip to main content
VulnerabilityPublished

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

Affects fanficfareSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : upgrade to 4.61.0_1 when convenient.

Data as of 13 Nov 2026, 21:32 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 4.61.0_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 fanficfare to 4.61.0_1.

Affected software

ProductAffectedFixed in
Homebrewfanficfarepkg:brew/fanficfareOther threatsAffected
  • >=4.59.0 <4.61.0_1
Fixed in
  • 4.61.0_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 4.61.0_1 of the affected product and should be applied. Users should also avoid applying :has() selectors with general sibling combinators (~) on elements with many children or untrusted HTML. Using more constrained combinators like adjacent sibling (+) or child (>) inside :has() can reduce traversal costs. If risk is high, input containing :has selectors can be blocked or calls wrapped in timeouts to prevent long-running evaluations. The quadratic time behavior is expected in some cases due to :has() design, so careful selector use is recommended.

Description

CVE-2026-126192 is a performance-related vulnerability in Soup Sieve where using a general sibling combinator (~) inside the :has() CSS selector against untrusted HTML causes quadratic time complexity. This can lead to significant CPU consumption and potential denial of service when processing attacker-controlled HTML with selectors like div:has(a ~ b). The issue arises because the selector evaluation does not short-circuit efficiently when the sibling element is absent, resulting in nested scans over sibling elements. The vulnerability affects versions >=4.59.0 and <4.61.0_1 of the affected product and has a medium severity score of 6.3. A fix is available in version 4.61.0_1.

References

Community reviews

Loading reviews…