Name | CVE-2021-23980 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-2620-1, DSA-4892-1 |
Debian Bugs | 986251 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
python-bleach (PTS) | bullseye | 3.2.1-2.1 | fixed |
bookworm | 5.0.1-2 | fixed | |
sid, trixie | 6.2.0-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
python-bleach | source | stretch | 2.0-1+deb9u1 | DLA-2620-1 | ||
python-bleach | source | buster | 3.1.2-0+deb10u2 | DSA-4892-1 | ||
python-bleach | source | (unstable) | 3.2.1-2.1 | 986251 |
https://github.com/mozilla/bleach/security/advisories/GHSA-vv2x-vrpj-qqpq
https://bugzilla.mozilla.org/show_bug.cgi?id=1689399
https://github.com/mozilla/bleach/commit/1334134d34397966a7f7cfebd38639e9ba2c680e
https://github.com/mozilla/bleach/commit/d398c89e54ced6b1039d3677689707456ba42dec