{"id":"CVE-2020-6802","published":"2020-03-24T21:13:04Z","modified":"2024-08-04T09:11:05Z","title":"In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01731,"percentile":0.78174,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/mozilla/bleach/security/advisories/GHSA-q65m-pv3f-wr5r","tags":["x_refsource_MISC"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/OCNLM2MGQTOLCIVVYS2Z5S7KOQJR5JC4/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/72R4VFFHDRSQMNT7IZU3X2755ZP4HGNI/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/YTULPQB7HVPPYWEYVNHJGDTSPVIDHIZX/","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach","tags":["x_refsource_MISC"]},{"url":"https://advisory.checkmarx.net/advisory/CX-2020-4276","tags":["x_refsource_MISC"]}],"priority":{"score":15.6,"factors":[{"name":"EPSS percentile","points":15.63}]},"affectedVersions":[{"vendor":"n/a","product":"Mozilla Bleach","versions":["<=3.10"]}],"affected":[{"ecosystem":"PyPI","package":"bleach","vulnerableRanges":["<3.1.1"],"patched":["3.1.1"],"from":["GHSA-q65m-pv3f-wr5r","PYSEC-2020-27"],"provenance":"source"}],"summary":{"text":"Mozilla Bleach, versions before 3.11, contains a mutation cross-site scripting flaw in its HTML sanitisation via the bleach.clean function. The issue affects deployments that pass noscript and a raw tag in the allowed tags option. An attacker can supply markup that is altered into executable script on the page when a site uses bleach.clean with that configuration, enabling script injection into the rendered output.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:40:43Z"},"euvd":{"id":"EUVD-2020-0054","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mozilla-bleach-cve-2020-6802","children":[{"from":"CVE-2020-6802","to":"CVE-2021-23980","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["bleach/html5lib_shim.py"],"commits":["https://github.com/mozilla/bleach/commit/f77e0f6392177a06e46a49abd61a4d9f035e57fd","https://github.com/mozilla/bleach/commit/79b7a3c5e56a09d1d323a5006afa59b56162eb13"],"basis":"rarely changed file"}]}],"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},{"cve":"CVE-2020-6816","published":"2020-03-24","fixed":"3.1.2","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-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"}}