Advisory

GHSA-hpv5-v8g5-c864

Also known as: CVE-2017-15612, PYSEC-2017-80

Summary

Cross-site Scripting in Mistune

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2022-05-17 00:26 UTC
Modified
2024-02-16 08:01 UTC

Affected packages and fixes

mistune

PyPI · All systems

Affected

  • introduced 0, fixed 0.8 (ecosystem)

Fixed versions

0.8

Fix

  • Fixed version 0.8
    pip install --upgrade mistune==0.8

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences