PT-2022-7078

CVE-2022-21680

·

Published

2022-01-13

·

Updated

2026-09-02

Description by

CVSS 2.0
7.8
High
MetricsAV:N/AC:L/Au:N/C:N/I:N/A:C
Name of the Vulnerable Software and Affected Versions Marked versions prior to 4.0.10
Description The issue is related to the regular expression block.def which may cause catastrophic backtracking against some strings, leading to a regular expression denial of service (ReDoS). This can affect anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit.
Recommendations For versions prior to 4.0.10, upgrade to version 4.0.10 to resolve the issue. As a temporary workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.
Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Related identifiers
GHSA-RRRM-QJM4-V8HF
Found an issue in the description? Have something to add? Feel free to write us 👾