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.
https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98