Skip to content
OpenAdvisories
Medium · 6.1 CVE-2017-15612 EUVD-2017-0075GHSA-hpv5-v8g5-c864PYSEC-2017-80

Cross-site Scripting in Mistune

Published Oct 19, 2017 · Updated Aug 5, 2024 · Assigned by mitre

Description

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 mistune 0.8-1 —
Debian 13 mistune 0.8-1 —
Debian 12 mistune 0.8-1 —
ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS mistune No fix yet —
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed python-mistune 3.0.2-2.5 openSUSE-SU-2026:11585-1, openSUSE-SU-2024:14148-1

Affected packages

EcosystemPackageAffectedFixedRecord
PyPI mistune < 0.8 0.8 GHSA-hpv5-v8g5-c864

Advisories 2

References