VDB
Sign up
—

PYSEC-2021-849

Quick fix

PYSEC-2021-849 — pybluemonday: upgrade to the fixed version with the command below.

pip install --upgrade 'pybluemonday>=0.0.8'

Details

The bluemonday sanitizer before 1.0.16 for Go, and before 0.0.8 for Python (in pybluemonday), does not properly enforce policies associated with the SELECT, STYLE, and OPTION elements.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/pybluemonday
Introduced in: 0Fixed in: 0.0.8
Fixpip install --upgrade 'pybluemonday>=0.0.8'

References