Cross-Site Scripting Vulnerability in Bleach by Mozilla
CVE-2021-23980

6.1MEDIUM

Key Information:

Vendor
Mozilla
Vendor
CVE Published:
16 February 2023

Summary

A cross-site scripting vulnerability in Bleach allows attackers to manipulate user inputs by using mutation XSS. This occurs when users invoke bleach.clean with specific conditions, permitting SVG or math content within certain allowed HTML tags (p or br) while restricting others. Notably, the tags style, title, noscript, script, textarea, noframes, iframe, or xmp are permissible, particularly with the keyword argument strip_comments set to False. Due to defaults like strip_comments being True, certain contexts may expose users to potential security risks.

Affected Version(s)

Mozilla Bleach < 3.3.0

References

CVSS V3.1

Score:
6.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
Required
Scope:
Changed

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.