CVE-2021-23980

python-bleach: A mutation XSS affects users calling bleach.clean with all of: svg or math in the allowed tags p or br in allowed tag...

CVE-2021-23980 is fixed in 2 products on 1 platform, first by python-bleach 2.1.2-1ubuntu0.1~esm1, released February 16, 2023. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
6.1
medium
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0048
41st percentile

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.

Where it's fixed

ProductFixed inFixReleased
Linux
python-bleach · Debian 12.15 (bookworm) 3.2.1-2.1 DEBIAN-CVE-2021-23980 Feb 16, 2023
python-bleach · Debian 13.5 (trixie) 3.2.1-2.1 DEBIAN-CVE-2021-23980 Feb 16, 2023
python-bleach · Debian 14 3.2.1-2.1 DEBIAN-CVE-2021-23980 Feb 16, 2023
python-bleach · Ubuntu 18.04.6 LTS (bionic) 2.1.2-1ubuntu0.1~esm1 python-bleach 2.1.2-1ubuntu0.1~esm1 Feb 16, 2023
python3-bleach · Ubuntu 18.04.6 LTS (bionic) 2.1.2-1ubuntu0.1~esm1 python3-bleach 2.1.2-1ubuntu0.1~esm1 Feb 16, 2023
python3-bleach · Ubuntu 20.04 LTS (focal) 3.1.1-1ubuntu0.1~esm1 python3-bleach 3.1.1-1ubuntu0.1~esm1 Feb 16, 2023

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.