Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | erusev/parsedown (Packagist) | before 1.7.0 | 1.7.0 | Patch available | GHSA-qgpv-86r3-87fh |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- erusev/parsedown (Packagist) Vendor— Affected before 1.7.0 Fixed in 1.7.0 Patch available GHSA-qgpv-86r3-87fh
Remediation
- Fix · GHSA-qgpv-86r3-87fh erusev/parsedown (Packagist) Fixed in 1.7.0 Advisory →
Vendor assessments
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1000162
- 2026-10-03 Alias added: GHSA-qgpv-86r3-87fh
References
Advisory 3
More Parsedown vulnerabilities
- TI-2019-08126 Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow… CVSS 3.0HIGH 8.1
Sources
- CVE-2018-1000162 · CVE Program
- CVE-2018-1000162 · NVD
- FIRST EPSS
- GHSA-qgpv-86r3-87fh · GitHub Advisory Database · CC BY 4.0
- CVE-2018-1000162 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences