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

  • ALPINE-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 Alpine Updated 3 November 2026
  • ALPINE-EDGE-CVE-2021-23980
    CVE-2021-23980 Alpine Updated 18 November 2026
  • 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
  • GHSA-vv2x-vrpj-qqpq

    Cross-site scripting in Bleach

    Moderate CVE-2021-23980 PyPI Updated 8 July 2026
  • OESA-2022-1861

    python-bleach security update

    Medium CVE-2021-23980 openEuler Updated 18 August 2026
  • PYSEC-2021-865

    In Mozilla Bleach before 3.3.0, a mutation XSS affects users calling bleach.clean with math or svg; p or br; and style, title, noscript, script, textarea, noframes, iframe, or xmp tags with strip_comments=False.

    CVE-2021-23980 PyPI Updated 8 November 2023
  • RHSA-2021:0781

    Red Hat Security Advisory: Red Hat Ansible Automation Platform 1.2.2 security and bug fix update

    CVE-2020-15366CVE-2020-7789CVE-2021-20270CVE-2021-23980 Red Hat Updated 23 November 2026
  • UBUNTU-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 Ubuntu Updated 9 March 2026
  • USN-8077-1

    python-bleach vulnerabilities

    Ubuntu Updated 25 June 2026
  • openSUSE-SU-2021:0552-1

    Security update for python-bleach

    CVE-2020-6816CVE-2020-6817CVE-2021-23980 openSUSE Updated 4 February 2026
  • openSUSE-SU-2021:0571-1

    Security update for python-bleach

    CVE-2020-6816CVE-2020-6817CVE-2021-23980 SUSE Updated 4 February 2026
  • openSUSE-SU-2024:14134-1

    python310-bleach-6.1.0-1.5 on GA media

    CVE-2018-7753CVE-2020-6802CVE-2020-6816CVE-2020-6817 openSUSE Updated 7 May 2025
  • openSUSE-SU-2026:11323-1

    python313-bleach-6.4.0-1.1 on GA media

    CVE-2018-7753CVE-2020-6802CVE-2020-6816CVE-2020-6817 openSUSE Updated 22 July 2026

References