CWE
79
Advisory Published
Advisory Published
Updated

CVE-2017-16876: XSS

First published: Fri Dec 29 2017(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
pip/mistune<0.8.1
0.8.1
mistune<0.8.1
Fedora=26

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the severity of CVE-2017-16876?

    CVE-2017-16876 is categorized as a medium severity cross-site scripting (XSS) vulnerability.

  • How do I fix CVE-2017-16876?

    To fix CVE-2017-16876, upgrade to Mistune version 0.8.1 or later.

  • What kind of attacks can CVE-2017-16876 enable?

    CVE-2017-16876 can enable remote attackers to inject arbitrary web scripts or HTML into affected applications.

  • Which versions of Mistune are affected by CVE-2017-16876?

    Mistune versions prior to 0.8.1 are affected by CVE-2017-16876.

  • What is the context of the XSS vulnerability in CVE-2017-16876?

    CVE-2017-16876 arises from a failure to properly escape the 'key' argument in the _keyify function in mistune.py.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203