Skip to main content
← All vulnerabilities
CVE-2020-6817GHSA-VQHP-CXGC-6WMMPYSEC-2020-340SNYK-PYTHON-BLEACH-561754

bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS).

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.1.4
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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']}).

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • Mozilla Mozilla Bleach

    fixed in 3.1.4

  • bleachPyPI

    fixed in 3.1.4

References 2

GitHub · mozilla/bleach

bugzilla.mozilla.org