ADVISORIES

GitHub Advisory Database

GHSA-j5p7-jf4q-742q

markdown-it vulnerable to Inefficient Regular Expression Complexity

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.

Affected packages

EcosystemPackageAffected versions
npmmarkdown-it
All versions before 3.0.0 (fixed in 3.0.0)

References