CVE-2022-21670

Uncontrolled Resource Consumption in markdown-it

MEDIUM
5.3
CVSS Score
Published: January 10, 2022 at 08:40 PM UTC
Updated: June 17, 2026 at 04:26 AM UTC
2 products affected across 2 vendorsMarkdown ITIT Project Markdown IT

Using markdown-it by markdown-it?

Get instant alerts when new vulnerabilities affect markdown-it - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.3
Exploit prediction
EPSS 2%
SSVC
PoC

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 12.3.2
Affected range stops below 12.3.2, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCPoCAutomatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

5.3MEDIUMGitHub_M
Attack Vector
NETWORK
Complexity
LOW
Privileges
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
NONE
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-400CWE-1333

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card