Vulnerability in Marked Project
CVE-2018-25110
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.006, 49.8th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/markedjs/marked/issues/1070 (issue-tracking, Third Party Advisory, Issue Tracking)
- github.com/markedjs/marked/pull/1083 (issue-tracking, Patch, Issue Tracking)
- github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485 (Patch, patch)
- github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-… (Exploit, Third Party Advisory, exploit)