Vulnerability 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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Python-Markdown2 Project | Python-Markdown2 | <= 2.3.5 |
Related Weaknesses (CWE)
References
- https://github.com/trentm/python-markdown2/issues/285Third Party Advisory
- https://github.com/trentm/python-markdown2/issues/285Third Party Advisory
FAQ
What is CVE-2018-5773?
CVE-2018-5773 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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...
How severe is CVE-2018-5773?
CVE-2018-5773 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2018-5773?
Check the references section above for vendor advisories and patch information. Affected products include: Python-Markdown2 Project Python-Markdown2.