VDB
Sign up
HIGH7.5

GHSA-j5p7-jf4q-742q

markdown-it vulnerable to Inefficient Regular Expression Complexity

Quick fix

GHSA-j5p7-jf4q-742q — markdown-it: upgrade to the fixed version with the command below.

npm install markdown-it@3.0.0

Details

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 89c8620157d6e38f9872811620d25138fc9d1b0d. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-216852.

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/markdown-it
Introduced in: 0Fixed in: 3.0.0
Fixnpm install markdown-it@3.0.0

References