Regular expression denial of service in Mozilla Bleach
Priority HIGH 72CWE-1333Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CISA ADP. Fix status from CNA and GitHub. Impact type from CWE-1333.
Summary
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']}).
Why it matters now
Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00718 54th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed Mozilla Bleach (Mozilla): 3.1.4bleach (PyPI): 3.1.4
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| Mozilla | Mozilla Bleach | before 3.1.4 | 3.1.4 | Patch available | CNA |
| — | bleach (PyPI) | before 3.1.4 | 3.1.4 | Patch available | GHSA-vqhp-cxgc-6wmm |
- Mozilla Bleach VendorMozilla Affected before 3.1.4 Fixed in 3.1.4 Patch available CNA
- bleach (PyPI) Vendor— Affected before 3.1.4 Fixed in 3.1.4 Patch available GHSA-vqhp-cxgc-6wmm
Remediation
- Fix · CNA Mozilla Bleach (Mozilla) Fixed in 3.1.4
- Fix · GHSA-vqhp-cxgc-6wmm bleach (PyPI) Fixed in 3.1.4 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2020-6817
- 2026-10-03 Alias added: GHSA-vqhp-cxgc-6wmm
References
Advisory 2
More Mozilla Bleach vulnerabilities
- TI-2021-06301 Cross-site scripting in Mozilla Bleach CVSS 3.1MEDIUM 6.1
- TI-2018-05596 An issue was discovered in Bleach 2.1.x before 2.1.3. CVSS 3.0CRITICAL 9.8
- TI-2020-05512 Cross-site scripting in Mozilla Bleach CVSS 3.1MEDIUM 6.1
- TI-2020-05526 Cross-site scripting in Mozilla Bleach CVSS 3.1MEDIUM 6.1
Sources
- CVE-2020-6817 · CVE Program
- CVE-2020-6817 · NVD
- FIRST EPSS
- GHSA-vqhp-cxgc-6wmm · GitHub Advisory Database · CC BY 4.0
- CVE-2020-6817 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences