XSS in Mozilla Bleach
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.005 (38.9th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Mozilla Bleach
- Mozilla Bleach — versions unspecified
Weakness classification (CWE)
References
- security@mozilla.org (Vendor Advisory)
- security@mozilla.org (Exploit, Issue Tracking)
Frequently asked questions
- What is CVE-2021-23980?
- CVE-2021-23980 is a medium-severity vulnerability in Mozilla Bleach, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2023-02-16.
- How severe is CVE-2021-23980?
- Medium severity. CVSS v3 base score is 6.1 out of 10.