Snarkdown
Monthly
Quadratic-time link resolution in Snarkdown through 2.0.0 lets unauthenticated attackers block the JavaScript event loop by supplying crafted Markdown containing many links or deeply nested '[' brackets, which forces the parser to rescan the entire accumulated HTML output on every closing bracket. The impact is availability-only (CVSS 3.1: AV:N/AC:L/PR:N/UI:N/A:L; CVSS 4.0 base 6.9) and is bounded in practice: it matters chiefly where parse() runs server-side and synchronously under Node.js, since a stalled event loop denies service to every client, whereas in purely browser-based use the hang is confined to the user who submitted the input. No public exploit code was identified at time of analysis, and the vendor has published an upstream fix in pull request #118.
Quadratic-time link resolution in Snarkdown through 2.0.0 lets unauthenticated attackers block the JavaScript event loop by supplying crafted Markdown containing many links or deeply nested '[' brackets, which forces the parser to rescan the entire accumulated HTML output on every closing bracket. The impact is availability-only (CVSS 3.1: AV:N/AC:L/PR:N/UI:N/A:L; CVSS 4.0 base 6.9) and is bounded in practice: it matters chiefly where parse() runs server-side and synchronously under Node.js, since a stalled event loop denies service to every client, whereas in purely browser-based use the hang is confined to the user who submitted the input. No public exploit code was identified at time of analysis, and the vendor has published an upstream fix in pull request #118.