Read the docs
TI-2017-11404 Aliases CVE-2017-15612GHSA-hpv5-v8g5-c864

mistune.py in Mistune 0.7.4 allows XSS via an unexpected newline (such as in…

Priority LOW 29CWE-79Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
Required
Attack complexity
Low
Impact type
Cross-site scripting
Confidentiality · integrity · availability
Low · Low · None
Fix status
Fixed

Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.

Summary

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.

Why it matters now

EPSS 0.00931 60th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed mistune (PyPI): 0.8

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—mistune (PyPI)before 0.80.8Patch availableGHSA-hpv5-v8g5-c864
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • mistune (PyPI) Vendor— Affected before 0.8 Fixed in 0.8 Patch available GHSA-hpv5-v8g5-c864

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:mistune_project:mistune:0.7.4:*:*:*:*:*:*:*0.7.4Vulnerablelepture
  • cpe:2.3:a:mistune_project:mistune:0.7.4:*:*:*:*:*:*:* Versions 0.7.4 Vulnerable ·lepture

Remediation

  • Fix · GHSA-hpv5-v8g5-c864 mistune (PyPI) Fixed in 0.8 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2017-15612
  2. 2026-10-03 Alias added: GHSA-hpv5-v8g5-c864

References

  • TI-2026-42736 Mistune block_parser: quadratic-time parsing on long lists of repeated reference-link definitions CVSS 3.1HIGH 7.5
  • TI-2026-42730 Regular expression denial of service in lepture mistune CVSS 3.1HIGH 7.5
  • TI-2026-42731 Mistune: XSS via percent-encoded javascript URI bypass in safe_url() CVSS 3.1MEDIUM 6.1
  • TI-2026-32774 Mistune Image Directive CSS Injection Vulnerability CVSS 3.1MEDIUM 6.1
  • TI-2026-32773 Mistune TOC Anchor Injection XSS CVSS 3.1MEDIUM 6.1
  • TI-2026-32595 Mistune Math Plugin XSS Escape Bypass CVSS 3.1MEDIUM 6.1
See all 16 →

Sources