High, CVSS 7.5npmAmendedPublished
Denial of Service in markdown-it-toc-and-anchor
GHSA-x6m6-5hrf-fh6r
- Affected
- npm markdown-it-toc-and-anchor < 4.2.0
- Fixed in
- 4.2.0· Vendor fix available
- Issue
- 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.
Recommended action: Upgrade to 4.2.0 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.