Skip to main content
CVE-2026-126189VulnerabilityPublished Updated

Soupsieve: Prior to 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has()

Affects soupsieveSource GCVE Database

0
Compare
Authoritative record:CVE-2026-126189· Medium 5.3

Not known to be exploited · CVSS 5.3 Medium · fixed in 4.0.1 : update soupsieve when convenient.

Data as of 18 Nov 2026, 16:23 UTC

CVSS 3.1 base score
5.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 3.15.3
Patch
Available – fixed in 4.0.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

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 17 Nov 2026.

What to do

Affected software

ProductAffectedFixed in
Ubuntu 26.10soupsievepkg:deb/ubuntu/soupsieve?arch=source&distro=stonkingOther threatsAffected
  • =2.8.3-1
  • =2.8.4-1
Fixed in–
Ubuntu 26.04 LTSsoupsievepkg:deb/ubuntu/soupsieve?arch=source&distro=resoluteOther threatsAffected
  • =2.7-2
  • =2.8.1-1
  • =2.8.3-1
Fixed in–
Ubuntu 24.04 LTSsoupsievepkg:deb/ubuntu/soupsieve?arch=source&distro=nobleOther threatsAffected
  • =2.4.1-2
  • =2.5-1
Fixed in–
Ubuntu 22.04 LTSsoupsievepkg:deb/ubuntu/soupsieve?arch=source&distro=jammyOther threatsAffected
  • =2.2.1-2
  • =2.3-1
  • =2.3.1-1
Fixed in–
Ubuntu 20.04 LTSsoupsievepkg:deb/ubuntu/soupsieve?arch=source&distro=focalOther threatsAffected
  • =1.9.2+dfsg-2ubuntu1
  • =1.9.4+dfsg-1
  • =1.9.5+dfsg-1
Fixed in–

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

AI-suggested

Upgrade to Soup Sieve version 4.0.1 or later, where this issue is fixed. Avoid using selectors compiled with NOCACHE, as they retain the old behavior. If processing only trusted documents, this issue is not applicable.

Description

Soup Sieve versions prior to 4.0.1 have a performance issue where the :has() CSS selector causes repeated searches of descendant subtrees, leading to quadratic matching time on deeply nested or wide HTML/XML documents. This can cause applications processing untrusted documents to experience significant delays or worker occupation for seconds or minutes. The issue does not affect applications processing only trusted documents. The problem is fixed in version 4.0.1.

References

Community reviews

Loading reviews…