What’s Vulnerable › Vulnerabilities
CVE-2018-5773
- Severity: medium (CVSS 6.1 v3.0)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.8% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2018-01-18 · updated 2026-06-17
- Weakness: CWE-79
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 products
- python-markdown2: through 2.3.5
References
- https://github.com/trentm/python-markdown2/issues/285
- https://github.com/trentm/python-markdown2/issues/285
Get alerted when CVE-2018-5773 or the next vulnerability affects your stack