
CVE catalog
CVE-2022-21681
node-marked: CVE-2022-21681
- Severity
- High · CVSS 7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 2.77% · Oct 25, 2026
Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `inline.reflinkSearch` may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). 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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | node-marked | sid | 18.1.1+~cs7.2.18-1 | fixed |
| Debian | node-marked | forky | 18.1.1+~cs7.2.18-1 | fixed |
| Debian | node-marked | trixie | 4.2.3+ds+~4.0.7-4 | fixed |
| Debian | node-marked | bookworm | 4.2.3+ds+~4.0.7-2 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | node-marked | source | sid | 4.0.12+ds+~4.0.1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-marked | source | forky | 4.0.12+ds+~4.0.1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-marked | source | trixie | 4.0.12+ds+~4.0.1-1 | not yet assigned | Not reported | Not reported |
| Debian | node-marked | source | bookworm | 4.0.12+ds+~4.0.1-1 | not yet assigned | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [libjs-marked]Fixed
Source package: [node-marked]
Details (2)
4.2.3+ds+~4.0.7-2· all · bookwormFixed · Fixed:
4.0.12+ds+~4.0.1-1dsa · node-marked · debian · bookworm
4.2.3+ds+~4.0.7-2· all · bookwormFixed · Fixed:
4.0.12+ds+~4.0.1-1dsa · node-marked · debian · bookworm
- [node-marked]Fixed
Details (2)
4.2.3+ds+~4.0.7-2· all · bookwormFixed · Fixed:
4.0.12+ds+~4.0.1-1dsa · node-marked · debian · bookworm
4.2.3+ds+~4.0.7-2· all · bookwormFixed · Fixed:
4.0.12+ds+~4.0.1-1dsa · node-marked · debian · bookworm
Observed:
References
- [https://security-tracker.debian.org/tracker/CVE-2022-21681]
- [https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-21681.json]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2023-0426.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [Red Hat security advisories and VEX]