# CVE-2018-25110: Regular Expression Denial of Service (ReDoS) in markedjs/marked

- Priority: **Routine**
- Reason: Not severe (CVSS 6.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2025-05-23 · Modified: 2025-05-23
- Aliases: UBUNTU-CVE-2018-25110, DEBIAN-CVE-2018-25110, GHSA-p9wx-2529-fp83
- Record: https://cvemate.com/vulnerability/CVE-2018-25110 · JSON: https://cvemate.com/vulnerability/CVE-2018-25110/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- EPSS: 0.621%, percentile 51.202%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected

- debian node-marked (Debian): \< 0.5.1+dfsg-1
- ubuntu node-marked (Ubuntu): All versions (No fix recorded)
- marked\_project marked: \< 0.3.17
- Npm marked (Npm): \< 0.3.17

## References

- <https://github.com/markedjs/marked/issues/1070>
- <https://github.com/markedjs/marked/pull/1083>
- <https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485>
- <https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110>
- <https://ubuntu.com/security/CVE-2018-25110>
- <https://www.cve.org/CVERecord?id=CVE-2018-25110>
- <https://security-tracker.debian.org/tracker/CVE-2018-25110>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-25110>
- <https://github.com/markedjs/marked>

---

Data as of 2026-12-05T06:19:11.375Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
