ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2021-23980

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSpython-bleach
All versions before 1.4.2-1ubuntu0.1~esm1 (fixed in 1.4.2-1ubuntu0.1~esm1)
Ubuntu:Pro:18.04:LTSpython-bleach
All versions before 2.1.2-1ubuntu0.1~esm1 (fixed in 2.1.2-1ubuntu0.1~esm1)
Ubuntu:Pro:20.04:LTSpython-bleach
All versions before 3.1.1-1ubuntu0.1~esm1 (fixed in 3.1.1-1ubuntu0.1~esm1)

References