Description
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.
References (4)
Core 4
Core References
Release Notes, Third Party Advisory x_refsource_confirm
https://github.com/lepture/mistune/blob/master/CHANGES.rst
Mailing List, Third Party Advisory vendor-advisory
x_refsource_fedora
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NUR3GMHQBMA3UC4PFMCK6GCLOQC4LQQC/
Patch, Third Party Advisory x_refsource_confirm
https://github.com/lepture/mistune/commit/5f06d724bc05580e7f203db2d4a4905fc1127f98
Issue Tracking, Third Party Advisory, VDB Entry x_refsource_confirm
https://bugzilla.redhat.com/show_bug.cgi?id=1524596
Scores
CVSS v3
6.1
EPSS
0.0023
EPSS Percentile
45.3%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Details
CWE
CWE-79
Status
published
Products (3)
fedoraproject/fedora
26
mistune_project/mistune
< 0.8.1
pypi/mistune
0 - 0.8.1PyPI
Published
Dec 29, 2017
Tracked Since
Feb 18, 2026