{"id":"CVE-2018-1000162","published":"2018-04-18T19:00:00Z","modified":"2024-08-05T12:33:49Z","title":"Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in `setMarkupEscaped` for…","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01159,"percentile":0.67878,"provenance":"source"},"cwes":[],"references":[{"url":"https://github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409","tags":["x_refsource_MISC"]},{"url":"https://github.com/erusev/parsedown/pull/495","tags":["x_refsource_MISC"]}],"priority":{"score":13.6,"factors":[{"name":"EPSS percentile","points":13.58}]},"affected":[{"ecosystem":"Packagist","package":"erusev/parsedown","vulnerableRanges":["<1.7.0"],"patched":["1.7.0"],"from":["GHSA-qgpv-86r3-87fh"],"provenance":"source"}],"summary":{"text":"Parsedown, a PHP Markdown parser, prior to version 1.7.0 contains a cross-site scripting flaw in its setMarkupEscaped handling of HTML escaping. The product name is taken from the title, and the component is the escaping logic within that parser.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:54:21Z"},"euvd":{"id":"EUVD-2022-1520","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2018-1000162","published":"2018-04-18","fixed":"1.7.0","kev":false},{"cve":"CVE-2019-10905","published":"2019-04-06","fixed":"1.7.2","kev":false,"link":{"from":"CVE-2018-1000162","to":"CVE-2019-10905","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Packagist:erusev/parsedown","fromFixed":"1.7.0","toFixed":"1.7.2","daysApart":353}]}}],"package":"Packagist:erusev/parsedown"}}