CVE catalog

CVE-2022-21681

node-marked: CVE-2022-21681

[CVE catalog]

Severity
High · CVSS 7.5CVSS: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.

DistributionPackageReleaseVersionStatus
Debiannode-markedsid18.1.1+~cs7.2.18-1fixed
Debiannode-markedforky18.1.1+~cs7.2.18-1fixed
Debiannode-markedtrixie4.2.3+ds+~4.0.7-4fixed
Debiannode-markedbookworm4.2.3+ds+~4.0.7-2fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debiannode-markedsourcesid4.0.12+ds+~4.0.1-1not yet assignedNot reportedNot reported
Debiannode-markedsourceforky4.0.12+ds+~4.0.1-1not yet assignedNot reportedNot reported
Debiannode-markedsourcetrixie4.0.12+ds+~4.0.1-1not yet assignedNot reportedNot reported
Debiannode-markedsourcebookworm4.0.12+ds+~4.0.1-1not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Source package: [node-marked]

    Details (2)
    • 4.2.3+ds+~4.0.7-2 · all · bookworm

      Fixed · Fixed: 4.0.12+ds+~4.0.1-1

      dsa · node-marked · debian · bookworm

    • 4.2.3+ds+~4.0.7-2 · all · bookworm

      Fixed · Fixed: 4.0.12+ds+~4.0.1-1

      dsa · node-marked · debian · bookworm

  • Details (2)
    • 4.2.3+ds+~4.0.7-2 · all · bookworm

      Fixed · Fixed: 4.0.12+ds+~4.0.1-1

      dsa · node-marked · debian · bookworm

    • 4.2.3+ds+~4.0.7-2 · all · bookworm

      Fixed · Fixed: 4.0.12+ds+~4.0.1-1

      dsa · node-marked · debian · bookworm

Observed:

References