Quadratic link resolution in Snarkdown causes denial of service
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-407.
Summary
Snarkdown through 2.0.0 contains a denial of service flaw in its parse() function, which rescans the entire accumulated HTML output for each link. An unauthenticated remote attacker can supply crafted Markdown with many links or deeply nested brackets to cause quadratic processing time (CWE-407), blocking the JavaScript event loop.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Description from the CNA
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.
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 |
|---|---|---|---|---|---|
| developit | snarkdown | up to 2.0.0 | — | No fix listed | CNA |
- snarkdown Vendordevelopit Affected up to 2.0.0 Fixed in — No fix listed CNA
Remediation
The sources list no fixed version for snarkdown.
Written with Claude Haiku 5.5 from the sources below · 2026-12-02
Timeline
- 2026-12-02 Threatist record created from CVE-2026-141601
- 2026-12-02 Alias added: GHSA-g7pj-cv79-vpp8
References
Sources
- CVE-2026-141601 · CVE Program
- CVE-2026-141601 · NVD
- GHSA-g7pj-cv79-vpp8 · 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