{"id":"CVE-2021-23980","details":"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.","aliases":["GHSA-vv2x-vrpj-qqpq","PYSEC-2021-865"],"modified":"2026-04-16T00:00:56.992517143Z","published":"2023-02-16T22:15:10.713Z","related":["GHSA-vv2x-vrpj-qqpq","openSUSE-SU-2021:0552-1","openSUSE-SU-2021:0571-1","openSUSE-SU-2024:11219-1","openSUSE-SU-2024:14134-1"],"references":[{"type":"ADVISORY","url":"https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq"},{"type":"REPORT","url":"https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mozilla/bleach","events":[{"introduced":"0"},{"fixed":"79b7a3c5e56a09d1d323a5006afa59b56162eb13"}],"database_specific":{"source":"CPE_FIELD","cpe":"cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*","extracted_events":[{"introduced":"0"},{"fixed":"3.3.0"}]}}],"versions":["0.1.2","0.2.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.3.3","0.3.4","0.3.5","0.4.0","0.5.0","1.0.0","1.0.0rc","1.0.0rc2","1.0.1","1.0.2","1.0.3","v1.0.4","v1.1.0","v1.1.1","v1.2.1","v1.2.2","v1.4","v1.4.1","v1.4.2","v1.5","v2.0","v2.1","v2.1.1","v2.1.2","v2.1.3","v2.1.4","v3.0.0","v3.0.1","v3.0.2","v3.1.0","v3.1.3","v3.1.4","v3.1.5","v3.2.0","v3.2.1","v3.2.2","v3.2.3"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2021-23980.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"}]}