Vulnerabilities · 2020 · Mozilla
CVE-2020-6817
Mozilla Bleach vulnerability
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']}).
Affected products
Bleach. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Mozilla Bleach runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmm · Vendor Advisory
- bugzilla.mozilla.org/show_bug.cgi?id=1623633 · Exploit
- github.com/mozilla/bleach/releases/tag/v3.1.4
- nvd.nist.gov/vuln/detail/CVE-2020-6817
- snyk.io/vuln/SNYK-PYTHON-BLEACH-561754
- github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2020-340.yaml
- github.com/advisories/GHSA-vqhp-cxgc-6wmm
- nvd.nist.gov/vuln/detail/CVE-2020-6817
- cve.org/CVERecord?id=CVE-2020-6817
More vulnerabilities in Mozilla products
CVE-2026-24869CVE-2026-24868CVE-2026-0892CVE-2026-0891CVE-2026-0890CVE-2026-0889CVE-2026-0888CVE-2026-0887All 3,354
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.