CVE-2018-25110 Details
Description
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.
A Regular Expression Denial-of-Service (ReDoS) vulnerability has been identified in the NPM package 'marked', prior to version 0.3.17. This vulnerability arises from catastrophic backtracking in several regular expressions used to parse HTML tags and markdown links. An attacker can exploit this issue by sending specially crafted markdown input that includes deeply nested or repetitively structured brackets or tag attributes, causing the parser to hang and leading to a denial-of-service condition.
Users can upgrade to 'marked' version 0.4.0 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed May 23, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110 | Checkmarx | ExploitThird Party Advisory |
| https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485 | Checkmarx | Patch |
| https://github.com/markedjs/marked/issues/1070 | Checkmarx | Issue TrackingThird Party Advisory |
| https://github.com/markedjs/marked/pull/1083 | Checkmarx | Issue TrackingPatch |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity | Checkmarx |
Affected Products
| Product | Versions |
|---|---|
| marked project marked | < 0.3.17 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | Checkmarx |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Aug 13, 2025 | Initial Analysis | [email protected] |
| May 23, 2025 | New CVE Received | Checkmarx |