GHSA-qgpv-86r3-87fh
Dashboard / Vulnerabilities / GHSA-qgpv-86r3-87fh
Summary: Cross-site Scripting in Parsedown
Details: 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.
References: https://nvd.nist.gov/vuln/detail/CVE-2018-1000162, https://github.com/Roave/SecurityAdvisories/issues/44#issuecomment-368594409, https://github.com/erusev/parsedown/pull/495, https://github.com/FriendsOfPHP/security-advisories/blob/master/erusev/parsedown/CVE-2018-1000162.yaml, https://github.com/erusev/parsedown
Affected packages
Package
Name: erusev/parsedown
Purl: pkg:composer/erusev/parsedown
Affected ranges
Type: ECOSYSTEM
Events:
