Skip to content

Cross-site Scripting in Mistune

Moderate severity GitHub Reviewed Published May 17, 2022 to the GitHub Advisory Database • Updated Sep 2, 2023

Package

pip mistune (pip)

Affected versions

>= 0, < 0.8

Patched versions

0.8

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.

References

Published by the National Vulnerability Database Oct 19, 2017
Published to the GitHub Advisory Database May 17, 2022
Reviewed Jul 1, 2022
Last updated Sep 2, 2023

Severity

Moderate
6.1
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2017-15612

GHSA ID

GHSA-hpv5-v8g5-c864

Source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.