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']}).
3.1.4
do not whitelist the style attribute in bleach.clean calls
limit input string length
If you have any questions or comments about this advisory:
{
"nvd_published_at": "2023-02-16T22:15:00Z",
"severity": "HIGH",
"github_reviewed_at": "2020-03-27T19:58:38Z",
"github_reviewed": true,
"cwe_ids": [
"CWE-1333",
"CWE-400"
]
}