Skip to content

markdown-it vulnerable to Inefficient Regular Expression Complexity

High severity GitHub Reviewed Published Dec 27, 2022 to the GitHub Advisory Database • Updated Feb 3, 2023

Package

npm markdown-it (npm)

Affected versions

< 3.0.0

Patched versions

3.0.0

Description

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.

References

Published by the National Vulnerability Database Dec 27, 2022
Published to the GitHub Advisory Database Dec 27, 2022
Reviewed Dec 30, 2022
Last updated Feb 3, 2023

Severity

High
7.5
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Weaknesses

CVE ID

CVE-2015-10005

GHSA ID

GHSA-j5p7-jf4q-742q
Checking history
See something to contribute? Suggest improvements for this vulnerability.