PyPI (Python)Worst: Critical8 advisories
bleach: known vulnerabilities
bleach has 8 reviewed security advisories in the GitHub Advisory Database — 1 critical, 1 high, 5 moderate, 1 low. The most recent was published 2026-06-16. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the bleach versions running across your servers, containers and images, and ranks what to patch first.
How to fix bleach
Upgrade bleach to a release at or above the fixed version shown for each advisory below. For PyPI (Python):
pip install --upgrade bleach (pin bleach>=6.4.0)
SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.
Advisories (8)
Bleach: URI sanitization allows disallowed URI schemes with Unicode > U+00A0 in output
Low 0.0 CWE-184
— Affected: before 6.4.0. Fixed in 6.4.0. Published 2026-06-16. GHSA-8rfp-98v4-mmr6
Bleach linkify(parse_email=True) CPU exhaustion via unbounded email regex scanning
Moderate 4.3 CWE-1333
— Affected versions listed in the advisory. No fixed release is listed. Published 2026-06-16. GHSA-g75f-g53v-794x
Bleach clean() / Cleaner() fails to sanitize dangerous URI schemes in allowed formaction attributes
Moderate 6.1 CWE-79
— Affected: before 6.4.0. Fixed in 6.4.0. Published 2026-06-16. GHSA-gj48-438w-jh9v
regular expression denial-of-service (ReDoS) in Bleach
High 7.5 CWE-1333 CWE-400
— Affected: before 3.1.4. Fixed in 3.1.4. Published 2023-02-16. GHSA-vqhp-cxgc-6wmm · CVE-2020-6817
Cross-site scripting in Bleach
Moderate 6.1 CWE-79
— Affected: before 3.3.0. Fixed in 3.3.0. Published 2023-02-16. GHSA-vv2x-vrpj-qqpq · CVE-2021-23980
Bleach vulnerable to mutation XSS via whitelisted math or svg and raw tag
Moderate 6.1 CWE-79
— Affected: before 3.1.2. Fixed in 3.1.2. Published 2020-03-24. GHSA-m6xf-fq7q-8743 · CVE-2020-6816
XSS in Bleach when noscript and raw tag whitelisted
Moderate 6.1 CWE-79
— Affected: before 3.1.1. Fixed in 3.1.1. Published 2020-03-24. GHSA-q65m-pv3f-wr5r · CVE-2020-6802
Bleach URI Scheme Restriction Bypass
Critical 9.8 CWE-20
— Affected: from 2.1.0 up to 2.1.3. Fixed in 2.1.3. Published 2019-01-04. GHSA-m9mq-p2f9-cfqv · CVE-2018-7753
Find bleach across your fleet
Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA,
CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month.
Start free.