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']}).
CVSS Details
- CVSS 3.1 Base Score: 7.5
- CVSS 3.1 Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Debian | debian-upgrade-python-bleach | Apr 3, 2020 | Apr 3, 2020 | |
| Freebsd | freebsd-upgrade-package-py27-bleachfreebsd-upgrade-package-py35-bleachfreebsd-upgrade-package-py36-bleachfreebsd-upgrade-package-py37-bleachfreebsd-upgrade-package-py38-bleach | Apr 27, 2020 | Apr 26, 2020 | |
| Suse | — | suse-upgrade-python2-bleachsuse-upgrade-python3-bleach | Apr 15, 2021 | Mar 9, 2019 |
| Ubuntu | ubuntu-pro-upgrade-python-bleachubuntu-pro-upgrade-python-bleach-docubuntu-pro-upgrade-python3-bleach | Jun 26, 2025 | Feb 16, 2023 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub