Security mailing lists by PureSourceCode

CVE-2017-16876

MEDIUM 6.1CVSS 3.0

mistune Cross-site scripting (XSS) vulnerability

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.

Published
29 Dec 2017
Last modified
17 Jun 2026
Assigned by
cve@mitre.org
NVD status
Modified
Weakness
CWE-79
Also known as
GHSA-98gj-wwxm-cj3hPYSEC-2017-18
Sources
NVDJSONOSV GHSA-98gj-wwxm-cj3hJSONOSV PYSEC-2017-18JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:N/VI:N/VA:N/SC:L/SI:L/SA:N
OSV GitHub CVSS 3.1 MEDIUM 6.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 3.0 MEDIUM 6.1 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD mistune_project mistune
cpe:2.3:a:mistune_project:mistune:*:*:*:*:*:*:*:*
< 0.8.1 0.8.1
NVD fedoraproject fedora
cpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:*
= 26
OSV PyPI mistune < 0.8.1 0.8.1

References

History

  • 25 Nov 2026 20:20 UTC · NVD: first stored (published 29 Dec 2017)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 29 Dec 2017)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 4 Jan 2019)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.