GHSA-rrrm-qjm4-v8hf · Severity: high · Ecosystem: npm — Inefficient Regular Expression Complexity in marked
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.
Conclusion & alert: CVE-2022-21680 is rated High Exploit Risk (70.5/100): CVSS High severity, with medium exploitation likelihood (EPSS 0.71%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-04-14 | 0.49% | 0.71% | +0.22% |
| 2 | 2026-02-22 | 0.71% | 0.49% | -0.22% |
| 3 | 2026-01-17 | — | 0.71% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 7.5 | 3.1 | HIGH |
|
3.9 | 3.6 | [email protected] |
| 5.0 | 2.0 | MEDIUM |
|
10.0 | 2.9 | [email protected] |
GHSA-rrrm-qjm4-v8hf · Severity: high · Ecosystem: npm — Inefficient Regular Expression Complexity in marked
| vendor | priority | summary | link |
|---|---|---|---|
debian
|
not yet assigned | CVE-2022-21680 not yet assigned priority: Debian including 1 source packages (node-marked), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. | https://security-tracker.debian.org/tracker/CVE-2022-21680 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-21680 |
ubuntu
|
medium | CVE-2022-21680 medium priority: Ubuntu including 1 source packages (node-marked), 15 status rows across 15 suites (bionic, focal, hirsute, impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 8, needs-triage 7. | https://ubuntu.com/security/CVE-2022-21680 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| marked_project | marked | < 4.0.10 | cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:* |
| fedoraproject | fedora | 36 | cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/markedjs/marked/commit/c4a3ccd344b6929afa8a1d50ac54a721e57012c0 | Patch Third Party Advisory |
| https://github.com/markedjs/marked/releases/tag/v4.0.10 | Release Notes Third Party Advisory |
| https://github.com/markedjs/marked/security/advisories/GHSA-rrrm-qjm4-v8hf | Exploit Third Party Advisory |
| https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AIXDMC3CSHYW3YWVSQOXAWLUYQHAO5UX/ |