Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2020-6816
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:13 UTC · Revision 1
Source evidence
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.
osv:CVE-2020-6816
Complete source record
{
"id": "7b6745e33817357399af697052a87a43c162f1222c3bf6efab1808e4c9a3e0ad",
"url": "https://osv.dev/vulnerability/CVE-2020-6816",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2020-6816",
"summary": "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.",
"evidence": "osv:CVE-2020-6816",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2020-6816",
"aliases": [
"CVE-2020-6816",
"GHSA-m6xf-fq7q-8743",
"PYSEC-2020-28"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mozilla/bleach",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "78a06726dd6c72a42c90c1f7a8fa5d21ebcfa587"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "3.1.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v3.1.1",
"v3.1.0",
"v3.0.2",
"v3.0.1",
"v3.0.0",
"v2.1.4",
"v2.1.3",
"v2.1.2",
"v2.1.1",
"v2.1",
"v2.0",
"v1.5",
"v1.4.2",
"v1.4.1",
"v1.4",
"v1.2.2",
"v1.2.1",
"v1.1.1",
"v1.1.0",
"v1.0.4",
"1.0.3",
"1.0.2",
"1.0.1",
"1.0.0",
"1.0.0rc2",
"0.5.0",
"1.0.0rc",
"0.4.0",
"0.3.5",
"0.3.4",
"0.3.3",
"0.3.2",
"0.3.1",
"0.3.0",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.2"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2020-6816.json"
}
}
],
"modified": "2026-10-20T10:53:29.593166215Z",
"provider": "osv",
"references": [
"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5/",
"https://github.com/mozilla/bleach/security/advisories/GHSA-m6xf-fq7q-8743",
"https://advisory.checkmarx.net/advisory/CX-2020-4277",
"https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach"
],
"provider_metadata": {
"unresolved_ranges": [
{
"cpes": [
"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*"
],
"vendor_product": "fedoraproject:fedora",
"extracted_events": [
{
"range": [
{
"introduced": "33"
},
{
"last_affected": "33"
}
],
"source": "CPE_STRING"
}
]
}
]
}
},
"related_cves": [
{
"value": "CVE-2020-6816",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384362,
"published_at": "2020-03-24T22:15:12.657+00:00"
}