Read the docs

Quadratic link resolution in Snarkdown causes denial of service

Priority MEDIUM 46CWE-407Published · Updated

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

Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
developitsnarkdownup to 2.0.0—No fix listedCNA
  • 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

  1. 2026-12-02 Threatist record created from CVE-2026-141601
  2. 2026-12-02 Alias added: GHSA-g7pj-cv79-vpp8

References

Sources