High severityNVD Advisory· Published Feb 16, 2023· Updated Mar 19, 2025
CVE-2020-6817
CVE-2020-6817
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']}).
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
bleachPyPI | < 3.1.4 | 3.1.4 |
Affected products
5- ghsa-coords4 versionspkg:pypi/bleachpkg:rpm/opensuse/python-bleach&distro=openSUSE%20Leap%2015.2pkg:rpm/opensuse/python-bleach&distro=openSUSE%20Tumbleweedpkg:rpm/suse/python-bleach&distro=SUSE%20Package%20Hub%2015%20SP2
< 3.1.4+ 3 more
- (no CPE)range: < 3.1.4
- (no CPE)range: < 3.1.5-lp152.2.3.1
- (no CPE)range: < 6.1.0-1.5
- (no CPE)range: < 3.1.5-bp152.2.4.1
- Mozilla/Mozilla Bleachv5Range: unspecified
Patches
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
7- github.com/advisories/GHSA-vqhp-cxgc-6wmmghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-6817ghsaADVISORY
- bugzilla.mozilla.org/show_bug.cgighsaWEB
- github.com/mozilla/bleach/releases/tag/v3.1.4ghsaWEB
- github.com/mozilla/bleach/security/advisories/GHSA-vqhp-cxgc-6wmmghsaWEB
- github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2020-340.yamlghsaWEB
- snyk.io/vuln/SNYK-PYTHON-BLEACH-561754ghsaWEB
News mentions
0No linked articles in our index yet.