🛡️ CVE-2022-21680
🟠 CVSS 8.0 — High ⚠️ Exploit Public CWE-400 NVD
8.0
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

Details

Severity HIGH
CVSS Score 8.0
CVSS Vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CWE CWE-400
Public Exploit ⚠️ Yes
Source NVD
Published 2022-01-14
Updated 2026-06-15
Modified 2024-11-21

Affected Packages

Software From version Fixed in
fedora
marked

References

Release Notes, Third Party Advisory https://github.com/markedjs/marked/releases/tag/v4.0.10
Release Notes, Third Party Advisory https://github.com/markedjs/marked/releases/tag/v4.0.10

Similar Threats

Site Security Check

Concerned your site may already be targeted?

BotEraser analyzes incoming traffic patterns and helps identify bot behavior consistent with known exploit attempts.

Check My Site Free →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.