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']}).
References (2)
Core 2
Core References
Exploit, Issue Tracking
https://bugzilla.mozilla.org/show_bug.cgi?id=1623633
Scores
CVSS v3
7.5
EPSS
0.0058
EPSS Percentile
69.0%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CISA SSVC
Vulnrichment
Exploitation
poc
Automatable
yes
Technical Impact
partial
Details
CWE
CWE-1333
Status
published
Products (2)
mozilla/bleach
< 3.1.4
pypi/bleach
0 - 3.1.4PyPI
Published
Feb 16, 2023
Tracked Since
Feb 18, 2026