VDB
Sign up
MEDIUM6.1

PYSEC-2017-80

Quick fix

PYSEC-2017-80 — mistune: upgrade to the fixed version with the command below.

pip install --upgrade 'mistune>=0.8'

Details

mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\nscript:) or a crafted email address, related to the escape and autolink functions.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/mistune
Introduced in: 0Fixed in: 0.8
Fixpip install --upgrade 'mistune>=0.8'

References