VDB
Sign up
—

PYSEC-2018-51

Quick fix

PYSEC-2018-51 — bleach: upgrade to the fixed version with the command below.

pip install --upgrade 'bleach>=c5df5789ec3471a31311f42c2d19fc2cf21b35ef'

Details

An issue was discovered in Bleach 2.1.x before 2.1.3. Attributes that have URI values weren't properly sanitized if the values contained character entities. Using character entities, it was possible to construct a URI value with a scheme that was not allowed that would slide through unsanitized.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References