VDB
Sign up
MEDIUM6.1

PYSEC-2017-18

Quick fix

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

pip install --upgrade 'mistune>=5f06d724bc05580e7f203db2d4a4905fc1127f98'

Details

Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the "key" argument.

Are you affected?

Enter the version of the package you're using.

Affected packages

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

References