CVE-2018-25110

published 23 May 2025 · updated 23 May 2025

Regular Expression Denial of Service (ReDoS) in markedjs/marked

7.9HighCVSS 6.9EPSS 1%1 public exploits

A public exploit exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 1%. Fixed in 0.3.17.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
<0.3.170.3.17

Exploit evidence

1 public sources

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2018-25110 severity on Zeptric[![CVE-2018-25110](https://zeptric.io/badge/cve/CVE-2018-25110.svg)](https://zeptric.io/cve/CVE-2018-25110)