Medium severity6.1NVD Advisory· Published Apr 18, 2018· Updated Jun 17, 2026
CVE-2018-1000162
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
erusev/parsedownPackagist | < 1.7.0 | 1.7.0 |
Affected products
2Patches
Vulnerability mechanics
References
5- github.com/Roave/SecurityAdvisories/issues/44nvdThird Party AdvisoryWEB
- github.com/advisories/GHSA-qgpv-86r3-87fhghsaADVISORY
- github.com/erusev/parsedown/pull/495nvdThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2018-1000162ghsaADVISORY
- github.com/FriendsOfPHP/security-advisories/blob/master/erusev/parsedown/CVE-2018-1000162.yamlghsaWEB
News mentions
0No linked articles in our index yet.