CVE-2020-6817Published Feb 16, 2023 · Feb 16Updated Oct 20
regular expression denial-of-service (ReDoS) in Bleach
Mozilla Bleach
High7.5Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| bleach PyPI |
|
|
Original 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']}).
From the CVE record · mozilla