7.5
High
CVE-2020-6817 bleach.clean behavior parsing style attributes could result in a regular expression denial of service (ReDoS)
Description
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']}).
Affected products and versions
| Product | Affected versions | Fixed in |
|---|---|---|
| Mozilla Bleach 3.1 | earliest → < 3.1.4 | 3.1.4 |