Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- High
- Impact type
- Cross-site scripting
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-79.
Summary
Parsedown before 1.7.2, when safe mode is used and HTML markup is disabled, might allow attackers to execute arbitrary JavaScript code if a script (already running on the affected page) executes the contents of any element with a specific class. This occurs because spaces are permitted in code block infostrings, which interferes with the intended behavior of a single class name beginning with the language- substring.
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.2 | 1.7.2 | Patch available | GHSA-62m3-fc7f-jpp8 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- erusev/parsedown (Packagist) Vendor— Affected before 1.7.2 Fixed in 1.7.2 Patch available GHSA-62m3-fc7f-jpp8
Remediation
- Fix · GHSA-62m3-fc7f-jpp8 erusev/parsedown (Packagist) Fixed in 1.7.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2019-10905
- 2026-10-03 Alias added: GHSA-62m3-fc7f-jpp8
References
Advisory 2
More Parsedown vulnerabilities
- TI-2018-15813 Parsedown version prior to 1.7.0 contains a Cross Site Scripting (XSS) vulnerability in… CVSS 3.0MEDIUM 6.1
Sources
- CVE-2019-10905 · CVE Program
- CVE-2019-10905 · NVD
- FIRST EPSS
- GHSA-62m3-fc7f-jpp8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences