VDB
CVE-2020-6802
CVE-2020-6802
PUBLISHED
CVSS 6.099999904632568 MEDIUM
XSS in Bleach when noscript and raw tag whitelisted
Reported by mozilla · Published March 24, 2020
bleach is fixed in 3.1.1 (PyPI)
In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.
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.1 |
| bleach | mozilla | 3.1.1 |
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.10 |
| n/a | Mozilla Bleach | 0 |
| alpine | py3-bleach | 0 |
| PyPI | bleach | 0 |
Timeline
- Feb 24, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 9, 2026 Security Advisory (3 in total, the first dated here)
- Mar 13, 2026 CVE Updated
- Aug 29, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-6802
vulnetix vdb fixes CVE-2020-6802
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-6802/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- x_refsource_MISC
- FEDORA-2020-827b677e15 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-e1fa96c506 vendor-advisoryx_refsource_FEDORA
- FEDORA-2020-e9c8bdd1e3 vendor-advisoryx_refsource_FEDORA
- x_refsource_MISC
- x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2020-6802 advisory
- https://github.com/advisories/GHSA-q65m-pv3f-wr5r advisory
- https://github.com/mozilla/bleach/commit/f77e0f6392177a06e46a49abd61a4d9f035e57fd patch
- https://bugzilla.mozilla.org/show_bug.cgi?id=1615315 url
- https://cure53.de/fp170.pdf url
- https://github.com/mozilla/bleach url
- https://github.com/pypa/advisory-database/tree/main/vulns/bleach/PYSEC-2020-27.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/72R4VFFHDRSQMNT7IZU3X2755ZP4HGNI url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OCNLM2MGQTOLCIVVYS2Z5S7KOQJR5JC4 url
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/YTULPQB7HVPPYWEYVNHJGDTSPVIDHIZX url