CVE-2018-25110
published medium CVSS 4.0 · 6.9Regular Expression Denial of Service (ReDoS) in markedjs/marked
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Not stated | — | marked0 to < 0.3.17 · Other versions: unaffected | Affected | Not stated | Checkmarx |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 6.9 / 10
- Severity
- medium
- Provider
- Checkmarx · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
- Scenarios
- en: GENERAL
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| marked | 0 to < 0.3.17 (affected · custom)Default: unaffected | Checkmarx · cna |
Weaknesses
1- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
4Provider assertions
2Checkmarx · cna
Regular Expression Denial of Service (ReDoS) in markedjs/marked
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- aa56eb7e859ae8ed628d0ec2cef27399d9ad87931971d99c45608655fb542dec
- Ingested
- 23 Sep 2026, 07:44:29 UTC
- Source record
- Official CVE record