CVE-2026-126192: Soup Sieve · General sibling combinator inside :has() matches untrusted HTML in quadratic time
Affects theharvesterSource GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 4.11.1_3 when convenient.
Data as of 13 Nov 2026, 21:20 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 4.0 | 6.3 |
|---|
- Patch
- Available – fixed in 4.11.1_3
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 theharvester to 4.11.1_3.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Homebrewtheharvesterpkg:brew/theharvesterOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in theharvester version 4.11.1_3. Users should upgrade to this version or later to resolve the issue. Additionally, developers should avoid using :has() with the general sibling combinator (~) on elements with large numbers of children, especially when processing untrusted HTML. Using more constrained combinators like adjacent sibling (+) or child (>) inside :has() can reduce traversal cost. Input containing :has selectors can be scanned and rejected if the risk is unacceptable. Wrapping selector evaluation in a timeout can also prevent long-running processes. The quadratic time behavior is expected in some cases due to the design of :has(), so careful selector design 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 delays on untrusted HTML inputs with many siblings. The issue arises because the algorithm cannot short-circuit and must scan many sibling pairs, leading to O(n²) complexity. This can stall applications processing attacker-controlled HTML. The vulnerability affects versions >=3.0.6 and <4.11.1_3 of theharvester and is fixed in 4.11.1_3. The CVSS 4.0 score is 6.3 (medium severity).
References
- github.com/facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-wfg4 (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-126192 (opens in a new tab)
- github.com/facelessuser/soupsieve/pull/304 (opens in a new tab)
- github.com/facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e86414a85e8f35fc0 (opens in a new tab)
- github.com/facelessuser/soupsieve (opens in a new tab)
- github.com/facelessuser/soupsieve/releases/tag/2.10 (opens in a new tab)