CVE-2018-1000162
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.
How to fix
- parsedown parsedown1.7.0 or later
- erusev/parsedown1.7.0 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| parsedown parsedown | v < 1.7.0 | 1.7.0 |
| erusev/parsedownPackagist | v < 1.7.0 | 1.7.0 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.