GHSA-x6m6-5hrf-fh6rHighCVSS 7.5Disclosed before NVD

Denial of Service in markdown-it-toc-and-anchor

Published
September 1, 2020
Last Modified
December 7, 2023

📋 Description

All versions of markdown-it-toc-and-anchor are vulnerable to Denial of Service. Parsing markdown containing **text**+\n@[toc] causes the application to enter and infinite loop.

Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

🎯 Affected products1

  • npm/markdown-it-toc-and-anchor:< 4.2.0

🔗 References (4)