VDB
CVE-2020-6816
CVE-2020-6816
PUBLISHED
CVSS 6.099999904632568 MEDIUM
Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag
Reported by mozilla · Published March 24, 2020
bleach is fixed in 3.1.2 (PyPI)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| bleach | PyPI | 3.1.2 |
| bleach | mozilla | 3.1.2 |
Risk scores
CVSS 3.1
6.099999904632568
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | Mozilla Bleach | <=3.11 |
| PyPI | bleach | 0 |
| n/a | Mozilla Bleach | 0 |
| alpine | py3-bleach | 0 |
Timeline
- Mar 24, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Nov 21, 2024 CVE Updated
- Mar 9, 2026 Security Advisory (3 in total, the first dated here)
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-6816
vulnetix vdb fixes CVE-2020-6816
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-6816/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- x_refsource_MISC
- FEDORA-2020-e0f35d634c vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-6816 advisory
- https://github.com/advisories/GHSA-m6xf-fq7q-8743 advisory
- https://github.com/mozilla/bleach url
- https://github.com/mozilla/bleach/releases/tag/v3.1.2 url
- https://github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2020-28.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5 url