VDB
Sign up
—

PYSEC-2020-28

Quick fix

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

pip install --upgrade 'bleach>=3.1.2'

Details

In Mozilla Bleach before 3.12, a mutation XSS in bleach.clean when RCDATA and either svg or math tags are whitelisted and the keyword argument strip=False.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References