GHSA-x6m6-5hrf-fh6r Denial of Service in markdown-it-toc-and-anchor
HighCVSS 7.5
- Published
- Updated
- Exploit status
- No public exploit known
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm markdown-it-toc-and-anchor(npm) | < 4.2.0 | 4.2.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| npm markdown-it-toc-and-anchor(npm) | < 4.2.0 | 4.2.0 |
References
- www.npmjs.com
- github.com product
- snyk.io
- github.com