GHSA-p6h9-gw49-rqm4MediumCVSS 6.1

markdown2 is vulnerable to cross-site scripting

Published
July 12, 2018
Last Modified
September 30, 2024

🔗 CVE IDs covered (1)

📋 Description

An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5. The safe_mode feature, which is supposed to sanitize user input against XSS, is flawed and does not escape the input properly. With a crafted payload, XSS can be triggered, as demonstrated by omitting the final > character from an IMG tag.

🎯 Affected products1

  • pip/markdown2:< 2.3.6

🔗 References (8)