Security mailing lists by PureSourceCode

CVE-2020-6816

MEDIUM 6.1CVSS 3.1

Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag

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.

Published
24 Mar 2020
Last modified
8 Jul 2026
Assigned by
security@mozilla.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-m6xf-fq7q-8743PYSEC-2020-28
Sources
NVDJSONOSV GHSA-m6xf-fq7q-8743JSONOSV PYSEC-2020-28JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mozilla bleach
cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*
< 3.1.2 3.1.2
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*
= 33
OSV PyPI bleach < 3.1.2 3.1.2

References

History

  • 25 Nov 2026 20:31 UTC · NVD: first stored (published 24 Mar 2020)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Mar 2020)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 24 Mar 2020)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.