Skip to content
OpenAdvisories
Low · 3.5 CVE-2015-10005 EUVD-2022-7658GHSA-j5p7-jf4q-742q

markdown-it html_re.js redos

Published Dec 27, 2022 · Updated Apr 11, 2025 · Assigned by VulDB

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.

Affected products

VendorProductAffectedFixed
— markdown-it 2.x —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 26.10 node-markdown-it No fix yet —
Ubuntu 26.04 LTS node-markdown-it No fix yet —
Ubuntu 25.10 node-markdown-it No fix yet —
Ubuntu 24.04 LTS node-markdown-it No fix yet —
Ubuntu 22.04 LTS node-markdown-it No fix yet —

Affected packages

EcosystemPackageAffectedFixedRecord
npm markdown-it < 3.0.0 3.0.0 GHSA-j5p7-jf4q-742q

References