Junglewise Threat Intelligence

CVE-2018-5773: PYSEC-2018-13 - An issue was discovered in markdown2 (aka python-markdown2) through 2.3.5. The safe_mode feature, which is supposed to sanitize user input a

CVE-2018-5773 · Severity: low · CVSS 3 · Published 2018-01-18

Technologies: markdown2 (PyPI). Vendors: PyPI.

Executive brief

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 products

  • PyPI markdown2

Related threats