ADVISORIES

Vulnerability

CVE-2020-6817

bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS). Calls to bleach.clean with an allowed tag with an allowed style attribute are vulnerable to ReDoS. For example, bleach.clean(..., attributes={'a': ['style']}).

10 advisories report this vulnerability, across 5 ecosystems.

Advisories in PyPI

  • GHSA-vqhp-cxgc-6wmm

    regular expression denial-of-service (ReDoS) in Bleach

    High CVE-2020-6817 PyPI Updated 10 September 2026
  • PYSEC-2020-340

    In Mozilla Bleach before 3.1.4, `bleach.clean` behavior parsing style attributes could result in a regular expression denial of service (ReDoS).

    CVE-2020-6817 PyPI Updated 8 November 2023

References