CVE-2020-6816Mozilla Bleach
Medium 6.1 No auth needed
Follow: this CVE · Mozilla · Mozilla Bleach We alert you by email or Slack (account required).
- Priority
- 52
- CVSS 3.1
- 6.1
- EPSS
- 1.3% probability of exploitation in 30 days · percentile 71
- Auth required
- No
- Published
- Mar 24, 2020
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
What happens
In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.
What to do
- Apply the vendor's security update for Bleach.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | bleach |
< 3.1.2 |
3.1.2 |
pip install "bleach>=3.1.2" |
| PyPI | bleach |
< 3.1.2 |
3.1.2 |
pip install "bleach>=3.1.2" |
Per OSV / GitHub Advisories (GHSA-m6xf-fq7q-8743, PYSEC-2020-28). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| mozilla | bleach | < 3.1.2 |
| fedoraproject | fedora | 33 |
Official advisories
- python313-bleach-6.4.0-1.1 on GA media · SUSE · openSUSE-SU-2026:11323-1 · Jul 21, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- advisory.checkmarx.net Exploit Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- www.checkmarx.com Exploit Third Party Advisory