Home
Trends
Vulnerabilities
News
Researchers
Why dbugs?

Schwag09

Researcher fromr2c
#30122of 53,633
8.7Total CVSS
Vulnerabilities · 1
PT-2020-19243
8.7
2020-03-30
Mozilla · Bleach · CVE-2020-6817
**Name of the Vulnerable Software and Affected Versions** Bleach versions prior to 3.1.4 **Description** The `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']})`. **Recommendations** For versions prior to 3.1.4, update to version 3.1.4 to resolve the issue. As a temporary workaround, consider not whitelisting the `style` attribute in `bleach.clean` calls. Additionally, limit input string length to minimize the risk of exploitation.