CVE-2018-1000162
Parsedown vulnerability
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.
Affected products
Parsedown. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Parsedown runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409 · Third Party Advisory
- github.com/erusev/parsedown/pull/495 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2018-1000162
- cve.org/CVERecord?id=CVE-2018-1000162
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.