GHSA-x6m6-5hrf-fh6r
7.5high
Denial of Service in markdown-it-toc-and-anchor
- Severity
- 7.5high CVSS:3.1 by GitHub
- Published
- Last changed
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
| Product or package | Versions | Reported by |
|---|---|---|
| markdown-it-toc-and-anchor (npm) | before 4.2.0 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-x6m6-5hrf-fh6r changed 2023-12-07 | CC-BY-4.0 |