Read the docs
TI-2018-15336 Aliases CVE-2018-25110GHSA-p9wx-2529-fp83

Regular Expression Denial of Service (ReDoS) in markedjs/marked

Priority HIGH 70CWE-1333Published · Updated

Key facts

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

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-1333.

Summary

Marked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several regular expressions used for parsing HTML tags and markdown links. An attacker can exploit this vulnerability by providing specially crafted markdown input, such as deeply nested or repetitively structured brackets or tag attributes, which cause the parser to hang and lead to a Denial of Service.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.0061 49th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA and NVD
Fix Fixed marked: 0.3.17marked (npm): 0.3.17

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
—markedbefore 0.3.170.3.17Patch availableCNA
—marked (npm)before 0.3.170.3.17Patch availableGHSA-p9wx-2529-fp83
  • marked Vendor— Affected before 0.3.17 Fixed in 0.3.17 Patch available CNA
  • marked (npm) Vendor— Affected before 0.3.17 Fixed in 0.3.17 Patch available GHSA-p9wx-2529-fp83

CPE configurations NVD · 1

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

Remediation

  • Fix · CNA marked Fixed in 0.3.17
  • Fix · GHSA-p9wx-2529-fp83 marked (npm) Fixed in 0.3.17 Advisory →

Vendor assessments

Red Hat

Red Hat's page for this CVE →

Not affected: 1 product
  • Red Hat

Timeline

  1. 2026-10-02 Threatist record created from CVE-2018-25110
  2. 2026-10-03 Alias added: GHSA-p9wx-2529-fp83

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-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-2021-04406 Denial of Service in Marked 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