What’s Vulnerable › Vulnerabilities

CVE-2020-6817

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

How to fix

Upgrade to a fixed version: Mozilla Bleach 3.1.4. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2020-6817 or the next vulnerability affects your stack