Skip to main content
VulnerabilityPublished

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

Affects enex2notionSource GCVE Database

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

Not known to be exploited · CVSS 6.3 Medium : upgrade to 0.3.1_25 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 0.3.1_25
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 enex2notion to 0.3.1_25.

Affected software

ProductAffectedFixed in
Homebrewenex2notionpkg:brew/enex2notionOther threatsAffected
  • >=0.2.17 <0.3.1_25
Fixed in
  • 0.3.1_25

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

AI-suggested

A patch fixing this issue is available in enex2notion version 0.3.1_25 and should be applied. Users should also carefully design selectors using :has(), avoiding general sibling combinators (~) inside :has() on elements with many children. Prefer using adjacent sibling (+) or child (>) combinators inside :has() to limit traversal. If untrusted input must be processed, consider scanning for :has usage and denying such input or wrapping calls in timeouts to prevent long-running evaluations. Note that quadratic time complexity in some :has() scenarios is expected behavior, not a bug, so thoughtful selector design is the primary mitigation.

Description

CVE-2026-126192 is a performance-related vulnerability in Soup Sieve where using a general sibling combinator (~) inside the :has() CSS selector on untrusted HTML can cause quadratic time complexity. This can lead to significant CPU consumption and application stalls when processing HTML with many sibling elements. The issue arises because the selector evaluation performs nested scans without short-circuiting when the right-hand sibling is absent. The vulnerability affects versions >=0.2.17 and <0.3.1_25 of the product enex2notion. A fix is available in version 0.3.1_25. The impact is denial of service via high CPU usage, rated medium severity with a CVSS score of 6.3. Mitigations include careful use of :has() selectors, limiting the number of children on the anchor element, and preferring tighter combinators like > or + inside :has().

References

Community reviews

Loading reviews…