CVE-2022-21670 MEDIUM

CVE-2022-21670: Uncontrolled Resource Consumption in markdown-it

Vendor Markdown-It
Product markdown-it
Weakness CWE-400
Published January 10, 2022
Last update April 22, 2025

CVSS base score

5.3/10
Attack vector Network
Attack complexity Low
Privileges required None
User interaction None
Confidentiality None
Integrity None

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L

What the vulnerability does

01Description

markdown-it is a Markdown parser. Prior to version 1.3.2, special patterns with length greater than 50 thousand characterss could slow down the parser significantly. Users should upgrade to version 12.3.2 to receive a patch. There are no known workarounds aside from upgrading.

Key dates

02Disclosure timeline

January 10, 2022 CVE published
April 22, 2025 Record updated