CVE-2017-15612: Cross-site Scripting in Mistune

CVE-2017-15612 · Severity: low · CVSS 3 · Published 2017-10-19

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.

Technologies: mistune (PyPI). Vendors: PyPI.

Quick answers

Is CVE-2017-15612 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2017-15612 being exploited in the wild.
How severe is CVE-2017-15612?
Low severity, with a CVSS score of 3, published 19 October 2017.
Which products and versions are affected?
mistune (PyPI) ECOSYSTEM:introduced=0,fixed=0.8.
Is there a fix for CVE-2017-15612?
Yes. mistune (PyPI): upgrade to 0.8 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2017-15612?
Check whether you run mistune (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

How to fix

  • mistune (PyPI): upgrade to 0.8 or later
    pip install "mistune>=0.8"

Affected products

  • mistune (PyPI) ECOSYSTEM:introduced=0,fixed=0.8

Identifiers

  • CVE-2017-15612
  • GHSA-hpv5-v8g5-c864
  • PYSEC-2017-80

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.