GHSA-x6m6-5hrf-fh6r
JSON

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 packageVersionsReported by
markdown-it-toc-and-anchor (npm)before 4.2.0GitHub Advisory Database

Classification

References

Sources

SourceRecordLicence
GitHub Advisory DatabaseGHSA-x6m6-5hrf-fh6r changed 2023-12-07CC-BY-4.0