markdown-it-toc-and-anchor@4.0.0 vulnerabilities

markdown-it plugin to add toc and anchor links in headings

  • latest version

    4.2.0

  • latest non vulnerable version

  • first published

    9 years ago

  • latest version published

    5 years ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the markdown-it-toc-and-anchor package. This does not include vulnerabilities belonging to this package’s dependencies.

    How to fix?

    Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

    Fix for free
    VulnerabilityVulnerable Version
    • H
    Denial of Service (DoS)

    markdown-it-toc-and-anchor is a markdown-it plugin to add toc and anchor links in headings.

    Affected versions of this package are vulnerable to Denial of Service (DoS). Parsing markdown containing **text**+\n@[toc] causes the application to enter and infinite loop.

    How to fix Denial of Service (DoS)?

    Upgrade markdown-it-toc-and-anchor to version 4.2.0 or higher.

    <4.2.0