CISA list

● PyPI package

soupsieve

Soupsieve has eight security advisories. The newest release any of them names as the fix is 4.0.0.

As of , soupsieve has eight security advisories. The newest release any of them names as the fix is 4.0.0.

Your version, and the version to upgrade to

Find the row your installed version falls in. The second column is the first release after it that none of the advisories lists as affected; a release outside every row is one no advisory lists. That is what the advisories say, not a promise that a release is free of flaws.
If you runUpgrade toAdvisories
Before 4.0.04.0.08 advisories

Security advisories, newest first

Security advisories, newest first
AdvisoryWhat it isAffectsFixed inPublished
CVE-2026-126191GHSA-6655-6qjp-jx7xSoup Sieve: Exponential ReDoS in selector compilation via \9-run in CSS_ESCAPES/IDENTIFIERHigh severityBefore 3.0.23.0.2
CVE-2026-126193GHSA-7g44-g9rc-x53wSoup Sieve: Uncontrolled recursion in CSS parser lets nested pseudo-class selectors exhaust the Python call stackModerate severityFrom 0.4 before 3.0.23.0.2
CVE-2026-126190GHSA-mmhr-3c5m-f64fSoup Sieve: Polynomial-time denial of service in the descendant combinatorHigh severityBefore 4.0.04.0.0
CVE-2026-126192GHSA-4j63-6c4x-wfg4Soup Sieve: General sibling combinator inside :has() matches untrusted HTML in quadratic timeModerate severityBefore 2.10.02.10.0
CVE-2026-86000GHSA-gjv8-xp57-g29c, PYSEC-2026-4170Soup Sieve: Polynomial-time ReDoS (O(n²)) in the `IDENTIFIER` / `VALUE` selector sub-patternsModerate severityBefore 2.9.02.9.0
CVE-2026-85999GHSA-j934-xhv5-fg8f, PYSEC-2026-4171Soup Sieve: Polynomial-time ReDoS (O(n²)) in the whitespace/comment trimming regex `RE_WS_END` (triggers on VALID selectors)Moderate severityBefore 2.9.02.9.0
CVE-2026-49477GHSA-836r-79rf-4m37, PYSEC-2026-3072Soup Sieve: Regular Expression Denial of Service (ReDoS) via Selector ParserHigh severityBefore 2.8.42.8.4
CVE-2026-49476GHSA-2wc2-fm75-p42x, PYSEC-2026-3071Soup Sieve has Memory Exhaustion via Large Comma-Separated Selector ListsHigh severityBefore 2.8.42.8.4

Other PyPI packages

Sources
  • Package advisories from the GitHub Advisory Database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0
  • Package advisories from the PyPA advisory database (CC BY 4.0). Version ranges are reworded as sentences (source). Licence: CC BY 4.0