Skip to main content
VulnerabilityPublished

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

Affects confluence-markdown-exporterSource GCVE Database

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

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

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
Patch
Available – fixed in 5.5.0
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 confluence-markdown-exporter to 5.5.0.

Affected software

ProductAffectedFixed in
Homebrewconfluence-markdown-exporterpkg:brew/confluence-markdown-exporterOther threatsAffected
  • >=5.4.0 <5.5.0
Fixed in
  • 5.5.0

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 issue is available in confluence-markdown-exporter version 5.5.0. Users should upgrade to this version or later to resolve the problem. Additionally, users are advised to carefully design selectors using :has(), avoiding anchors with many children and preferring combinators like > or + inside :has() to limit traversal. If the risk is significant, input containing :has selectors can be filtered or denied, and selector evaluation can be wrapped in timeouts to prevent long-running processing. Quadratic time complexity in some :has() scenarios is expected behavior and not a bug, so thoughtful use of :has() is recommended.

Description

CVE-2026-126192 describes a performance issue in Soup Sieve when using a CSS selector with a general sibling combinator inside :has(), such as div:has(a ~ b). This selector runs in quadratic time relative to the number of sibling elements, causing significant CPU consumption on untrusted HTML inputs with many siblings. The issue can stall processing for minutes on relatively small HTML fragments. The problem arises because Soup Sieve performs nested scans without short-circuiting when the right-hand sibling element is absent. This behavior is inherent to the design of :has() with general sibling combinators and is not unique to Soup Sieve. A fix is available in version 5.5.0 of the affected product. Users are advised to carefully limit the use of :has() selectors and consider timeouts or input validation to mitigate the risk.

References

Community reviews

Loading reviews…