CWE-407: Inefficient Algorithmic Complexity
An algorithm that slows down much faster than its input grows, often quadratically, so a modest input takes ages.
3 reports
- high
GHSA-xg9p-p4jc-c46gGFM autolink extension can crash the process or hang it on small untrusted Markdown
With the autolink extension on, a paragraph of email addresses can blow the stack and kill the whole process, and a link ending in lots of closing brackets hangs it.
- medium
CVE-2026-104182JSONC parser and verifier re-scan the whole accumulated comment on every input chunk, so a large block or line comment delivered across chunks costs O(n^2) CPU and stalls the event loop (remote unauthenticated DoS)
If an app parses untrusted JSONC, a big comment sent in small chunks gets re-scanned from the start on every chunk, so a few MB blocks the event loop for over 10 seconds.
- medium
GHSA-253c-mchw-3w2rlinkify: true has two quadratic paths, so a few hundred KB of markdown blocks the event loop for tens of seconds
With linkify switched on, a few hundred KB of fairly ordinary markdown blocks the event loop for tens of seconds, so one post can stall a Node app.