Vulnerability Description
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.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Parsedown | Parsedown | < 1.7.0 |
Related Weaknesses (CWE)
References
- https://github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409Third Party Advisory
- https://github.com/erusev/parsedown/pull/495Third Party Advisory
- https://github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409Third Party Advisory
- https://github.com/erusev/parsedown/pull/495Third Party Advisory
FAQ
What is CVE-2018-1000162?
CVE-2018-1000162 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 exp...
How severe is CVE-2018-1000162?
CVE-2018-1000162 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-1000162?
Check the references section above for vendor advisories and patch information. Affected products include: Parsedown Parsedown.