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. External References: https://nvd.nist.gov/vuln/detail/CVE-2018-5773 Upstream Issue: https://github.com/trentm/python-markdown2/issues/285
Created python-markdown2 tracking bugs for this issue: Affects: epel-all [bug 1536922] Affects: fedora-all [bug 1536923]
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.