VYPR

Mistune

by Mistune Project

CVEs (3)

  • CVE-2017-16876MedDec 29, 2017
    risk 0.33cvss 6.1epss 0.00

    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-15612MedOct 19, 2017
    risk 0.33cvss 6.1epss 0.00

    mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in java\nscript:) or a crafted email address, related to the escape and autolink functions.

  • CVE-2026-44896medMay 8, 2026
    risk 0.26cvss epss

    In `src/mistune/directives/image.py`, the `render_figure()` function concatenates `figclass` and `figwidth` options directly into HTML attributes without escaping (lines 152-168). This allows attribute injection and XSS even when `HTMLRenderer(escape=True)` is used, because these values bypass the inline renderer. Other attributes in the same file (src, alt, style) are properly escaped; figclass/figwidth were missed.