Inefficient Algorithmic Complexity in markdown-it - CVE-2026-111766
Published: November 9, 2026
Vulnerability details
The vulnerability allows an unauthenticated remote attacker to cause denial of service in applications rendering attacker-controlled Markdown.
The vulnerability exists due to quadratic rescanning in markdown-it's inline HTML parser when repeated unterminated HTML constructs occur inside a paragraph with html: true, including the commonmark preset. An unauthenticated remote attacker can submit a few hundred kilobytes of crafted Markdown to block the Node.js event loop for seconds, delaying other requests.
Affected software
Fedora
markdownlint-cli2
How to mitigate CVE-2026-111766
markdownlint-cli2 - addressed in versions 0.24.0-1.fc43, 0.24.0-1.fc44, 0.24.0-1.fc45