{"id":"CVE-2021-23980","published":"2023-02-16T00:00:00Z","modified":"2025-03-19T15:18:23Z","title":"A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags…","vendor":"Mozilla","product":"Mozilla Bleach","tier":"tail","description":{"text":"A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tags style, title, noscript, script, textarea, noframes, iframe, or xmp in allowed tags the keyword argument strip_comments=False Note: none of the above tags are in the default allowed tags and strip_comments defaults to True.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.1,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00483,"percentile":0.42507,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq","tags":[]},{"url":"https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980","tags":[]}],"priority":{"score":12.8,"factors":[{"name":"EPSS percentile","points":8.5},{"name":"CVSS severity","points":4.27}]},"vendorSlug":"mozilla","affectedVersions":[{"vendor":"Mozilla","product":"Mozilla Bleach","versions":[">= unspecified, < 3.3.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2025-03-19T15:18:14.680659Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"PyPI","package":"bleach","vulnerableRanges":["<3.3.0"],"patched":["3.3.0"],"from":["GHSA-vv2x-vrpj-qqpq","PYSEC-2021-865"],"provenance":"source"}],"euvd":{"id":"EUVD-2021-0036","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-mozilla-bleach-cve-2020-6802","parents":[{"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-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},{"cve":"CVE-2020-6817","published":"2023-02-16","fixed":"3.1.4","kev":false,"link":{"from":"CVE-2020-6817","to":"CVE-2021-23980","relation":"successor","confidence":"medium","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"PyPI:bleach","fromFixed":"3.1.4","toFixed":"3.3.0","daysApart":0},{"kind":"similar","provenance":"machine","score":0.28,"basis":"same product + description similarity"}]}},{"cve":"CVE-2021-23980","published":"2023-02-16","fixed":"3.3.0","kev":false}],"package":"PyPI:bleach"}}