kcve.ai취약점 정보 · 내 자산 확인

CVE-2026-126189 Soup Sieve: Quadratic-time denial of service when matching `:has()`

설명

Soup Sieve is a CSS selector library designed to be used with Beautiful Soup 4. Prior to 4.0.1, Soup Sieve repeatedly searches descendant subtrees for each candidate evaluated by :has() and repeatedly reevaluates a parent containing :has(> ...) for each child, causing quadratic matching on deeply nested or wide attacker-influenced HTML or XML. Applications using ordinary fixed selectors through select(), select_one(), or Beautiful Soup CSS APIs against untrusted documents can have a worker occupied for seconds or minutes, while applications that process only trusted documents are not affected. Selectors compiled with NOCACHE continue to use the old uncached behavior. This issue is fixed in version 4.0.1.

영향 받는 제품 제품 1개

  • facelessuser

    soupsieve

    해결 버전 있음

    영향 받는 버전

    • 4.0.1 미만

    해결 버전

    • 4.0.1 이상

참고 자료 5건

‹ 목록

점검 지원 범위 문의

도입 문의