CVE-2018-25110
Regular Expression Denial of Service (ReDoS) in markedjs/marked
Reported by checkmarx · Published May 23, 2025
marked is fixed in 0.3.17 (npm)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| marked | npm | 0.3.17 |
| marked | marked_project | 0.3.17 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| 0 | ||
| 0 | ||
| npm | marked | 0 |
Timeline
- May 23, 2025 CVE Published
- May 24, 2025 EPSS Score (30 in total, the first dated here)
- Oct 31, 2025 CVE Updated
- Mar 9, 2026 Security Advisory
- Sep 21, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2018-25110
vulnetix vdb fixes CVE-2018-25110
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-25110/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- issue-tracking
- issue-tracking
- patch
- exploit
- https://nvd.nist.gov/vuln/detail/CVE-2018-25110 advisory
- https://github.com/advisories/GHSA-p9wx-2529-fp83 advisory
- https://github.com/markedjs/marked url