Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

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

Quick assessment

Affected
facelessuser soupsieve
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Soup Sieve 是一个专为配合 Beautiful Soup 4 使用的 CSS 选择器库。在 2.10 版本之前,如果开发者编写的选择器将通用兄弟组合符(general sibling combinator)置于 伪类内部,且右侧子选择器缺失时,库会对每个候选元素的后继兄弟节点进行重复扫描,导致在处理攻击者可控的 HTML 内容时产生二次方时间复杂度(O(n²))的计算开销。 具体而言,当应用程序针对不可信标记使用固定选择器(如 )进行评估时,一个较小的文档就可能导致工作线程被占用数分钟之久。相比之下,相邻

CVSS 6.3 · Medium EPSS 0.48% · P42

Possible ATT&CK Techniques 1 AI

T1499 · Endpoint Denial of Service

Affected Version Matrix 1

VendorProduct Version RangeStatus
facelessuser soupsieve < 2.10 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-126192

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic time
Source: CVE Program / CVE List V5
Vulnerability Description
Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 2.10, matching a developer-authored selector that places the general sibling combinator inside :has() repeatedly scans each candidate element's following siblings when the right-hand side is absent, producing quadratic work on attacker-controlled HTML. Applications that evaluate a fixed selector such as div:has(a ~ b) over untrusted markup can have a worker occupied for minutes by a small document, while the adjacent sibling form and trusted-only document processing are not affected in the same way. This issue is fixed in version 2.10.
Source: CVE Program / CVE List V5
CVSS Information
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
Source: CVE Program / CVE List V5
Vulnerability Type
未加控制的资源消耗(资源穷尽)
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
facelessuser soupsieve < 2.10 -

II. Public POCs for CVE-2026-126192

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-126192

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-126192 (2)

Vendor Advisories for CVE-2026-126192 (1)

Vendor Pages for CVE-2026-126192 (1)

Same Patch Batch · facelessuser · 2026-11-12 · 5 CVEs total

CVE-2026-126190 7.5 HIGH Soup Sieve: Polynomial-time denial of service in the descendant combinator
CVE-2026-126191 7.5 HIGH Soup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIER
CVE-2026-126189 5.3 MEDIUM Soup Sieve: Quadratic-time denial of service when matching `:has()`
CVE-2026-126193 5.3 MEDIUM Soup Sieve: Uncontrolled recursion in Soup Sieve CSS parser lets nested pseudo-class selec

IV. Related Vulnerabilities