Advisory

GHSA-98gj-wwxm-cj3h

Also known as: CVE-2017-16876, PYSEC-2017-18

Summary

mistune Cross-site scripting (XSS) vulnerability

Details

Cross-site scripting (XSS) vulnerability in the _keyify function in mistune.py in Mistune before 0.8.1 allows remote attackers to inject arbitrary web script or HTML by leveraging failure to escape the "key" argument.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-01-04 17:47 UTC
Modified
2024-09-24 21:34 UTC

Affected packages and fixes

mistune

PyPI · All systems

Affected

  • introduced 0, fixed 0.8.1 (ecosystem)

Fixed versions

0.8.1

Fix

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

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