Skip to main content
← All vulnerabilities
CVE-2018-5773GHSA-P6H9-GW49-RQM4PYSEC-2018-13

An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.3.6
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • markdown2PyPI

    fixed in 2.3.6

References 1

GitHub · trentm/python-markdown2