GHSA-g7pj-cv79-vpp8MediumCVSS 5.3
Snarkdown through 2.0.0 contains a denial of service vulnerability in parse() in src/index.js...
🔗 CVE IDs covered (1)
📋 Description
Snarkdown through 2.0.0 contains a denial of service vulnerability in parse() in src/index.js that rescans the entire accumulated HTML output for each link. Attackers can supply crafted Markdown with many links or deeply nested '[' brackets to cause quadratic processing time, blocking the JavaScript event loop.
🔗 References (5)
- https://nvd.nist.gov/vuln/detail/CVE-2026-141601
- https://github.com/developit/snarkdown/pull/118
- https://github.com/developit/snarkdown/blob/2.0.0/src/index.js#L86
- https://www.vulncheck.com/advisories/snarkdown-through-2.0.0-denial-of-service-via-quadratic-link-resolution
- https://github.com/advisories/GHSA-g7pj-cv79-vpp8