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—
ProductMozilla Bleach
PublishedFeb 16, 2023
First seenFeb 16, 2023

How to fix

Update
  • mozilla bleach3.3.0 or later
  • bleach3.3.0 or later

Affected products

ProductAffected versionsFixed in
mozilla bleachv < 3.3.03.3.0
bleachPyPIv < 3.3.03.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.