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']}).
Publication date: Fri, 17 Feb 2023 04:15:00 +0000