Debian Security Advisory

DLA-2620-1 python-bleach -- LTS security update

Date Reported:
06 Apr 2021
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2021-23980.
More information:

It was discovered that there was a cross-site scripting (XSS) vulnerability in python-bleach, a whitelist-based HTML sanitisation library.

  • CVE-2021-23980

    mutation XSS via allowed math or svg; p or br; and style, title, noscript, script, textarea, noframes, iframe, or xmp tags with strip_comments=False

For Debian 9 Stretch, these problems have been fixed in version 2.0-1+deb9u1.

We recommend that you upgrade your python-bleach packages.

Further information about Debian LTS security advisories, how to apply these updates to your system and frequently asked questions can be found at: