CVE-2021-23980
Publication date 16 February 2023
Last updated 5 March 2026
Ubuntu priority
Cvss 3 Severity Score
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.
Status
| Package | Ubuntu Release | Status |
|---|---|---|
| python-bleach | 25.10 questing |
Not affected
|
| 24.04 LTS noble |
Not affected
|
|
| 22.04 LTS jammy |
Not affected
|
|
| 20.04 LTS focal |
Fixed 3.1.1-1ubuntu0.1~esm1
|
|
| 18.04 LTS bionic |
Fixed 2.1.2-1ubuntu0.1~esm1
|
|
| 16.04 LTS xenial |
Fixed 1.4.2-1ubuntu0.1~esm1
|
|
| 14.04 LTS trusty | Not in release |
Get expanded security coverage with Ubuntu Pro
Reduce your average CVE exposure time from 98 days to 1 day with expanded CVE patching, ten-years security maintenance and optional support for the full stack of open-source applications. Free for personal use.
Get Ubuntu Pro 30-day free trialSeverity score breakdown
| Parameter | Value |
|---|---|
| Base score |
|
| Attack vector | Network |
| Attack complexity | Low |
| Privileges required | None |
| User interaction | Required |
| Scope | Changed |
| Confidentiality | Low |
| Integrity impact | Low |
| Availability impact | None |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
References
Related Ubuntu Security Notices (USN)
- USN-8077-1
- Bleach vulnerabilities
- 5 March 2026
Other references
- 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/79b7a3c5e56a09d1d323a5006afa59b56162eb13
- https://github.com/mozilla/bleach/commit/d398c89e54ced6b1039d3677689707456ba42dec
- https://www.cve.org/CVERecord?id=CVE-2021-23980