ADVISORIES

Vulnerability

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.

15 advisories report this vulnerability, across 8 ecosystems.

Advisories in Debian

  • DEBIAN-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…

    CVE-2021-23980 Debian Updated 23 October 2026
  • DLA-2620-1

    python-bleach - security update

    CVE-2021-23980 Debian Updated 20 November 2026
  • DSA-4892-1

    python-bleach - security update

    CVE-2021-23980 Debian Updated 20 November 2026

References