{"id":"CVE-2020-6816","published":"2020-03-24T21:15:40Z","modified":"2024-08-04T09:11:05Z","title":"In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.0134,"percentile":0.72003,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mozilla/bleach/security/advisories/GHSA-m6xf-fq7q-8743","tags":["x_refsource_MISC"]},{"url":"https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/EDQU2SZLZMSSACCBUBJ6NOSRNNBDYFW5/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4277","tags":["x_refsource_MISC"]}],"priority":{"score":14.4,"factors":[{"name":"EPSS percentile","points":14.4}]},"affectedVersions":[{"vendor":"n/a","product":"Mozilla Bleach","versions":["<=3.11"]}],"affected":[{"ecosystem":"PyPI","package":"bleach","vulnerableRanges":["<3.1.2"],"patched":["3.1.2"],"from":["GHSA-m6xf-fq7q-8743","PYSEC-2020-28"],"provenance":"source"}],"summary":{"text":"A mutation cross-site scripting (XSS) flaw exists in Mozilla Bleach, an HTML sanitisation library, in versions before 3.12, within its bleach.clean function. An attacker who can supply input to a site using bleach.clean can inject script when RCDATA plus either the svg or math tags are whitelisted and strip=False is set.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:49:17Z"},"euvd":{"id":"EUVD-2020-0055","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-7753","published":"2018-03-07","fixed":"2.1.3","kev":false},{"cve":"CVE-2020-6802","published":"2020-03-24","fixed":"3.1.1","kev":false,"link":{"from":"CVE-2020-6802","to":"CVE-2020-6816","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bleach","fromFixed":"3.1.1","toFixed":"3.1.2","daysApart":0},{"kind":"similar","provenance":"machine","score":0.26,"basis":"same package + description similarity"}]}},{"cve":"CVE-2020-6816","published":"2020-03-24","fixed":"3.1.2","kev":false},{"cve":"CVE-2020-6817","published":"2023-02-16","fixed":"3.1.4","kev":false},{"cve":"CVE-2021-23980","published":"2023-02-16","fixed":"3.3.0","kev":false}],"package":"PyPI:bleach"}}