Vulnerability

CVE-2026-126192

mediumCVSS 4.0 6.3Published 12 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /facelessuser/soupsieve/commit/ffb88cca745c591224f74a8e8641…
  • github.com /facelessuser/soupsieve/pull/304
  • github.com /facelessuser/soupsieve/releases/tag/2.10
  • github.com /facelessuser/soupsieve/security/advisories/GHSA-4j63-6c4x-…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning