Incomplete List of Disallowed Inputs Affecting bleach package, versions [,6.4.0)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-BLEACH-17356111
  • published17 Jun 2026
  • disclosed16 Jun 2026
  • creditUnknown

Introduced: 16 Jun 2026

CVE NOT AVAILABLE CWE-184  (opens in a new tab)

How to fix?

Upgrade bleach to version 6.4.0 or higher.

Overview

bleach is a whitlist-based HTML sanitizing library that escapes or strips markup and attributes.

Affected versions of this package are vulnerable to Incomplete List of Disallowed Inputs via the bleach.clean() function when processing URIs containing disallowed scheme patterns with inserted Unicode characters. An attacker can cause the sanitizer to output URIs that violate the intended protocol allowlist by crafting links with non-ASCII characters in the scheme portion. If a downstream system performs Unicode normalization on the output, this could enable execution of unintended scripts.

CVSS Base Scores

version 4.0
version 3.1