Read the docs
TI-2021-04406 Aliases CVE-2021-21306GHSA-4r62-v4vq-hr96

Denial of Service in Marked

Priority LOW 38CWE-400Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Denial of service
Confidentiality · integrity · availability
None · None · High
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-400.

Summary

Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.

Why it matters now

EPSS 0.02492 84th percentileScored 2026-11-07
Fix Fixed marked (markedjs): 2.0.0marked (npm): 2.0.0

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
markedjsmarked1.1.1 to before 2.0.02.0.0Patch availableCNA
—marked (npm)1.1.1 to before 2.0.02.0.0Patch availableGHSA-4r62-v4vq-hr96
  • marked Vendormarkedjs Affected 1.1.1 to before 2.0.0 Fixed in 2.0.0 Patch available CNA
  • marked (npm) Vendor— Affected 1.1.1 to before 2.0.0 Fixed in 2.0.0 Patch available GHSA-4r62-v4vq-hr96

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:*1.1.1 to before 2.0.0Vulnerablemarkedjs
  • cpe:2.3:a:marked_project:marked:*:*:*:*:*:node.js:*:* Versions 1.1.1 to before 2.0.0 Vulnerable ·markedjs

Remediation

  • Fix · CNA marked (markedjs) Fixed in 2.0.0
  • Fix · GHSA-4r62-v4vq-hr96 marked (npm) Fixed in 2.0.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

Not affected: 2 products
  • OpenShift Service Mesh 2.0
  • Red Hat OpenShift Container Platform 4

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-21306
  2. 2026-10-03 Alias added: GHSA-4r62-v4vq-hr96

References

  • TI-2026-30197 Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer CVSS 4.0HIGH 8.7
  • TI-2022-06057 Exponential catastrophic backtracking (ReDoS) in marked CVSS 3.1HIGH 7.5
  • TI-2022-06056 Cubic catastrophic backtracking (ReDoS) in marked CVSS 3.1HIGH 7.5
  • TI-2018-15336 Regular Expression Denial of Service (ReDoS) in markedjs/marked CVSS 4.0MEDIUM 6.9
  • TI-2015-07284 The marked package before 0.3.4 for Node.js allows attackers to cause a denial of service… CVSS 3.1HIGH 7.5
  • TI-2017-11833 Uncontrolled resource consumption in HackerOne marked node module CVSS 3.0HIGH 7.5
See all 10 →

Sources