XSS in Parsedown
CVE-2018-1000162
Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for escaping HTML that can result in JavaScript code execution. This attack appears to be exploitable via specially crafted markdown that allows it to side step HTML escaping by breaking AST boundaries. This vulnerability appears to have been fixed in 1.7.0 and later.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.012 (65.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
Affected products
- Parsedown
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
- cve@mitre.org (Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2018-1000162?
- CVE-2018-1000162 is a medium-severity vulnerability in Parsedown, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-04-18.
- How severe is CVE-2018-1000162?
- Medium severity. CVSS v3 base score is 6.1 out of 10.