Live threats

All CVEs / Mozilla

CVE-2020-6816Mozilla Bleach

Medium 6.1 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Bleach.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
mozillableach< 3.1.2
fedoraprojectfedora33

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.