Skip to main content
VulnerabilityPublished

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

Affects gdownSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : upgrade to 6.4.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 6.4.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 gdown to 6.4.1.

Affected software

ProductAffectedFixed in
Homebrewgdownpkg:brew/gdownOther threatsAffected
  • >=5.2.0 <6.4.1
Fixed in
  • 6.4.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 for this vulnerability is available in Soup Sieve version 6.4.1; upgrading to this version or later resolves the issue. Users should apply this official patch. Additionally, users are advised to carefully design selectors using :has(), avoiding anchors with many children and overly broad selectors inside :has(). Prefer combinators like > or + inside :has() to limit traversal. If the risk is significant, input containing :has() selectors can be filtered or denied, and evaluation calls can be wrapped in timeouts to prevent long-running processing. These mitigations complement the patch and reduce the risk of denial of service.

Description

CVE-2026-126192 describes a performance-related vulnerability in Soup Sieve when using a CSS selector with a general sibling combinator (~) inside the :has() pseudo-class. This selector pattern causes the matching process to run in quadratic time relative to the number of sibling elements, leading to significant CPU consumption and potential denial of service when processing untrusted HTML. The issue arises because the algorithm does not short-circuit when the expected sibling element is absent, resulting in nested scans. The vulnerability affects Soup Sieve versions from 5.2.0 up to but not including 6.4.1 and has been fixed in version 6.4.1. The impact is primarily on availability, as an attacker can cause excessive CPU usage by supplying crafted HTML. Mitigations include careful use of :has() selectors, avoiding overly broad anchors or inner selectors, and applying timeouts or input filtering to prevent long-running evaluations.

References

Community reviews

Loading reviews…