CVE-2018-25110

High

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.

SeverityHigh
CVSS7.5
Exploit probability—
ProductMarked
PublishedMay 23, 2025
First seenMay 23, 2025
Weakness typeCWE-1333CWE-1333

How to fix

Update
  • marked_project marked0.3.17 or later
  • marked0.3.17 or later

Affected products

ProductAffected versionsFixed in
marked_project markedv < 0.3.170.3.17
markednpmv < 0.3.170.3.17

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.

CVE-2018-25110 · Marked · Dark Radar