Open-source package vulnerability · npm
CVE-2024-1899: Showdown vulnerable to Regular Expression Denial of Service (ReDoS) in link/anchor parsing
mediumCVSS 3.1 5.3GHSA-rmmh-p597-ppvv
Showdownjs, versions <= 2.1.0, anchors subparser used to parse links has a nested regular expression which can lead to denial of service conditions given malicious input.
Published Feb 26, 2024 · Updated Apr 24, 2026
Affected packages
showdown
- Ecosystem
- npm
- Affected
- <= 2.1.0
- Fixed in
- No patched version yet
- Check
npm ls showdown
Advisory details
From the GitHub Advisory Database (CC BY 4.0).
Showdownjs, versions <= 2.1.0, anchors subparser used to parse links has a nested regular expression which can lead to denial of service conditions given malicious input.
Credited to LukasChristel.
References
How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology
