CVE-2018-25110
highpriority · track · 30EPSS 0.006 · 49 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 2.7–7.5
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
advisories (1)
Vendor and ecosystem advisories describing this.
- GHSA-p9wx-2529-fp83Marked allows Regular Expression Denial of Service (ReDoS) attacks2025-05-23ghsa · osvUS
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.
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (13)
External citations — patches, advisories, analysis.
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110cnnvd
- https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485cnnvd
- https://github.com/markedjs/marked/issues/1070cnnvd
- https://github.com/markedjs/marked/pull/1083cnnvd
- https://github.com/markedjs/marked/releasesPatchcnnvd
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110enisa_euvd
- https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485enisa_euvd
- https://github.com/markedjs/marked/issues/1070enisa_euvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan