Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Mozilla | Bleach | < 3.3.0 |
Related Weaknesses (CWE)
References
- https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980ExploitIssue Tracking
- https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpqVendor Advisory
- https://bugzilla.mozilla.org/show_bug.cgi?id=CVE-2021-23980ExploitIssue Tracking
- https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpqVendor Advisory
FAQ
What is CVE-2021-23980?
CVE-2021-23980 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 tag...
How severe is CVE-2021-23980?
CVE-2021-23980 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2021-23980?
Check the references section above for vendor advisories and patch information. Affected products include: Mozilla Bleach.