Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2021-23980

published medium CVSS 3.1 · 6.1

python-bleach: Mutation cross-site scripting in bleach.clean

Title from Red Hat VEX

Published
16 Feb 2023, 00:00:00 UTC
Updated
19 Mar 2025, 15:18:23 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Mozilla — Mozilla Bleachunspecified to < 3.3.0 Affected Not stated mozilla
Alpine Linux edge py3-bleach Fixed 3.3.0-r0 Package fix record
Debian buster python-bleach Advisory build 3.1.2-0+deb10u2 DSA-4892-1
SUSE / openSUSE openSUSE-Leap-15.2 python2-bleachnoarch Advisory build 3.1.5-lp152.2.3.1 OPENSUSE-SU-2021:0552-1
Ubuntu bionic python-bleach Advisory build 2.1.2-1ubuntu0.1~esm1 USN-8077-1
Alpine Linux v3.15 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.16 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.17 py3-bleach Fixed 3.3.0-r0 Package fix record
Show 46 more entries
Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Alpine Linux v3.18 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.19 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.20 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.21 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.22 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.23 py3-bleach Fixed 3.3.0-r0 Package fix record
Alpine Linux v3.24 py3-bleach Fixed 3.3.0-r0 Package fix record
Debian stretch python-bleach Advisory build 2.0-1+deb9u1 DLA-2620-1
SUSE / openSUSE openSUSE-Leap-15.2 python3-bleachnoarch Advisory build 3.1.5-lp152.2.3.1 OPENSUSE-SU-2021:0552-1
SUSE / openSUSE openSUSE-Tumbleweed python310-bleachaarch64 Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python310-bleachppc64le Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python310-bleachs390x Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python310-bleachx86_64 Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python311-bleachaarch64 Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python311-bleachppc64le Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python311-bleachs390x Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python311-bleachx86_64 Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python312-bleachaarch64 Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python312-bleachppc64le Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python312-bleachs390x Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python312-bleachx86_64 Advisory build 6.1.0-1.5 OPENSUSE-SU-2024:14134-1
SUSE / openSUSE openSUSE-Tumbleweed python313-bleachaarch64 Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python313-bleachppc64le Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python313-bleachs390x Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python313-bleachx86_64 Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python314-bleachaarch64 Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python314-bleachppc64le Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python314-bleachs390x Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python314-bleachx86_64 Advisory build 6.4.0-1.1 OPENSUSE-SU-2026:11323-1
SUSE / openSUSE openSUSE-Tumbleweed python36-bleachaarch64 Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python36-bleachppc64le Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python36-bleachs390x Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python36-bleachx86_64 Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python38-bleachaarch64 Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python38-bleachppc64le Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python38-bleachs390x Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python38-bleachx86_64 Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python39-bleachaarch64 Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python39-bleachppc64le Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python39-bleachs390x Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
SUSE / openSUSE openSUSE-Tumbleweed python39-bleachx86_64 Advisory build 3.3.0-1.4 OPENSUSE-SU-2024:11219-1
Ubuntu bionic python3-bleach Advisory build 2.1.2-1ubuntu0.1~esm1 USN-8077-1
Ubuntu focal python-bleach Advisory build 3.1.1-1ubuntu0.1~esm1 USN-8077-1
Ubuntu focal python3-bleach Advisory build 3.1.1-1ubuntu0.1~esm1 USN-8077-1
Ubuntu xenial python-bleach Advisory build 1.4.2-1ubuntu0.1~esm1 USN-8077-1
Ubuntu xenial python3-bleach Advisory build 1.4.2-1ubuntu0.1~esm1 USN-8077-1

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.

en · mozilla · cna

Vendor advisories explicitly linked to this CVE.

20

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
3.1
Base score
6.1 / 10
Severity
medium
Provider
CISA-ADP · adp
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Mozilla Mozilla Bleach unspecified to < 3.3.0 (affected · custom) mozilla · cna

Weaknesses

2
  • 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 (mozilla · cna)
  • CWE-79 CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CISA-ADP · adp)

References

2

Provider assertions

3

mozilla · cna

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.1
Searchable
yes
Content hash
0bc08cd68cdad5c6f0a364def0380dc393ab6c1b9b87cfdb5277e741d20d111f
Ingested
23 Sep 2026, 07:52:58 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected