CVE-2018-25110
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.
Description as published by the source, in English.
Key facts
- Published
- 2025-05-23
- Last modified
- 2026-06-17
- Assigned by
- 596c5446-0ce5-4ba2-aa66-48b3b757a647
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H- Scored by
- nvd@nist.gov (NVD Primary)
- Probability of exploitation
-
0.5 %
higher than 41 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Yes, see references
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| marked (npm) | < 0.3.17 | Affected | |
| Marked Project | Marked | < 0.3.17 | Affected |
Weakness type
-
CWE-1333: Inefficient Regular Expression Complexity
The product uses a regular expression with a worst-case computational complexity that is inefficient and possibly exponential.
References
- https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25…
- https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485
- https://github.com/markedjs/marked/issues/1070
- https://github.com/markedjs/marked/pull/1083
Related at Berigo
Articles
-
Nine advisories in one day, from brake computers to ship transponders
Same product
2026-08-25
CISA published seven new ICS advisories on 25 August 2026 and revised two older ones the same day. Five of the nine carry a top CVSS v3.1 score of 9.…
-
Only one of the 91 vulnerabilities Spring patched is rated critical
Same product
2026-08-25
Spring has patched 91 vulnerabilities spread across a range of subprojects, and the advisories on spring.io are dated 20 August. Spring rates one of …
-
Attackers are exploiting the plug-in in front of Oracle WebLogic
Same product
2026-08-25
CISA added CVE-2026-21962 to its Known Exploited Vulnerabilities Catalog on 24 August, citing evidence of active exploitation. The flaw sits in Oracl…
-
Almost a third of this week's listed vulnerabilities have no severity score
Same product
2026-08-25
The weekly vulnerability summary from CISA lists 3882 vulnerabilities for the week beginning 10 August. 1184 of them have no calculated severity scor…
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.