Description
In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | Mozilla Bleach | <=3.10 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | python-bleach | 3.1.1-1 | — |
| Debian 13 | python-bleach | 3.1.1-1 | — |
| Debian 12 | python-bleach | 3.1.1-1 | — |
| Debian 10 | python-bleach | 3.1.1-0+deb10u1 | DSA-4636-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | python-bleach | 2.1.2-1ubuntu0.1~esm1 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | python-bleach | 3.1.1-bp151.4.4.1 | openSUSE-SU-2020:0325-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | python-bleach | 6.1.0-1.5 | openSUSE-SU-2026:11323-1, openSUSE-SU-2024:14134-1 |
| openSUSE Tumbleweed | weblate | 4.8.1-1.1 | openSUSE-SU-2024:11507-1 |
| openSUSE Leap 15.1 | python-bleach | 3.1.1-lp151.3.6.1 | openSUSE-SU-2020:0308-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.23 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.22 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.21 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.20 | py3-bleach | 3.1.1-r0 | — |
Show 9 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.18 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.17 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.16 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.15 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.14 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.13 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.12 | py3-bleach | 3.1.1-r0 | — |
| Alpine v3.11 | py3-bleach | 3.1.1-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | bleach | < 3.1.1 | 3.1.1 | GHSA-q65m-pv3f-wr5r |
Advisories 6
- openSUSE-SU-2026:11323-1 python313-bleach-6.4.0-1.1 on GA media SUSE / openSUSE Security Updates · Jul 22, 2026
- DSA-4636-1 python-bleach - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:0325-1 Security update for python-bleach SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11507-1 weblate-4.8.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:0308-1 Security update for python-bleach SUSE / openSUSE Security Updates · May 7, 2025
- openSUSE-SU-2024:14134-1 python310-bleach-6.1.0-1.5 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- https://github.com/mozilla/bleach/security/advisories/GHSA-q65m-pv3f-wr5r
- FEDORA-2020-827b677e15 vendor-advisory
- FEDORA-2020-e1fa96c506 vendor-advisory
- FEDORA-2020-e9c8bdd1e3 vendor-advisory
- https://www.checkmarx.com/blog/vulnerabilities-discovered-in-mozilla-bleach
- https://advisory.checkmarx.net/advisory/CX-2020-4276