CVE-2021-23980

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mozilla:bleach:*:*:*:*:*:*:*:*

History

19 Mar 2025, 16:15

Type Values Removed Values Added
References (MISC) https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980 - Exploit, Issue Tracking () https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980 - Exploit, Issue Tracking
References (MISC) https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq - Vendor Advisory () https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq - Vendor Advisory

Information

Published : 2023-02-16 22:15

Updated : 2025-03-19 16:15


NVD link : CVE-2021-23980

Mitre link : CVE-2021-23980


JSON object : View

Products Affected

mozilla

  • bleach
CWE
CWE-79

Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')