ADVISORIES

Vulnerability

CVE-2017-16876

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.

6 advisories report this vulnerability, across 4 ecosystems.

Medium severity All PyPI 2openSUSE 2Debian 1Ubuntu 1

Advisories

  • DEBIAN-CVE-2017-16876

    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.

    CVE-2017-16876 Debian Updated 1 September 2026
  • GHSA-98gj-wwxm-cj3h

    mistune Cross-site scripting (XSS) vulnerability

    Moderate CVE-2017-16876 PyPI Updated 24 September 2024
  • PYSEC-2017-18

    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.

    CVE-2017-16876 PyPI Updated 8 November 2023
  • UBUNTU-CVE-2017-16876

    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.

    CVE-2017-16876 Ubuntu Updated 24 October 2025
  • openSUSE-SU-2024:14148-1

    python310-mistune-3.0.2-2.5 on GA media

    CVE-2017-15612CVE-2017-16876 openSUSE Updated 4 February 2026
  • openSUSE-SU-2026:11585-1

    python313-mistune-3.3.4-1.1 on GA media

    CVE-2017-15612CVE-2017-16876 openSUSE Updated 26 August 2026

References