Packages / markdown-it / Security
markdown-it vulnerable to Inefficient Regular Expression Complexity
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.0Every release on a timeline
Not affected
15.0.0 – 15.0.3
4 releases, latest
Affected
2.0.0 – 2.2.1
7 releases
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.