Live threats

All CVEs / Mistune Project

CVE-2017-15612Mistune Project Mistune

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
0.9%
probability of exploitation in 30 days · percentile 62
Auth required
No
Published
Oct 19, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Mistune.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI mistune < 0.8 0.8 pip install "mistune>=0.8"
PyPI mistune < 0.8 0.8 pip install "mistune>=0.8"

Per OSV / GitHub Advisories (GHSA-hpv5-v8g5-c864, PYSEC-2017-80). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
mistune_projectmistune0.7.4

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.