Vulnerability 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']}).
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Bleach | < 3.1.4 |
Related Weaknesses (CWE)
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=1623633ExploitIssue Tracking
- https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmmVendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=1623633ExploitIssue Tracking
- https://github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmmVendor Advisory
FAQ
What is CVE-2020-6817?
CVE-2020-6817 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ...
How severe is CVE-2020-6817?
CVE-2020-6817 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2020-6817?
Check the references section above for vendor advisories and patch information. Affected products include: Mozilla Bleach.