CVE-2021-23980
Medium
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.
SeverityMedium
CVSS6.1
Exploit probability—
Product
Mozilla Bleach
PublishedFeb 16, 2023
First seenFeb 16, 2023
Weakness typeCWE-79Cross-site scripting (XSS)
How to fix
Update
- mozilla bleach3.3.0 or later
- bleach3.3.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| mozilla bleach | v < 3.3.0 | 3.3.0 |
| bleachPyPI | v < 3.3.0 | 3.3.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
In the Intelligence 360 plan
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.