Packages / markdown-it / Security

HighVulnerabilityGHSA-j5p7-jf4q-742qCVE-2015-10005Published 27 Dec 2022

markdown-it vulnerable to Inefficient Regular Expression Complexity

Your version

Affected releases · markdown-it

  • 2.x2.0.0 – 2.2.1No fix on this line yet

2.x has no fix yet; the newest fixed line:

npm install markdown-it@3.0.0
Every release on a timeline
15.x
  1. Not affected

    15.0.0 – 15.0.3

    4 releases, latest

2.x
  1. Affected

    2.0.0 – 2.2.1

    7 releases

89 stable releases of markdown-it, oldest to newest, one row per major.

What happens

A vulnerability was found in markdown-it up to 2.x. It has been classified as problematic. Affected is an unknown function of the file lib/common/html_re.js. The manipulation leads to inefficient regular expression complexity. Upgrading to version 3.0.0 is able to address this issue. The name of the patch is 89c8620. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216852.

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.