VDB
Sign up
—

PYSEC-2020-27

Quick fix

PYSEC-2020-27 — bleach: upgrade to the fixed version with the command below.

pip install --upgrade 'bleach>=3.1.1'

Details

In Mozilla Bleach before 3.11, a mutation XSS affects users calling bleach.clean with noscript and a raw tag in the allowed/whitelisted tags option.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/bleach
Introduced in: 0Fixed in: 3.1.1
Fixpip install --upgrade 'bleach>=3.1.1'

References