{"cve":"CVE-2018-25110","nvd":{"published":"2025-05-23T15:15:20.210","modified":"2026-06-17T01:54:44.457","status":"Analyzed","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5},"cwes":["CWE-1333"],"references":["https://github.com/Checkmarx/Vulnerabilities-Proofs-of-Concept/tree/main/2018/CVE-2018-25110","https://github.com/markedjs/marked/commit/20bfc106013ed45713a21672ad4a34df94dcd485","https://github.com/markedjs/marked/issues/1070","https://github.com/markedjs/marked/pull/1083"],"products":["marked_project:marked"],"source":"nvd","synced_at":"2026-10-19T22:01:57.636215869+00:00"},"epss":{"cve":"CVE-2018-25110","score":0.0061,"percentile":0.49227,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-p9wx-2529-fp83","url":"https://osv.dev/vulnerability/GHSA-p9wx-2529-fp83","summary":"Marked allows Regular Expression Denial of Service (ReDoS) attacks","modified":"2025-05-27T15:27:40.131270Z","packages":[{"ecosystem":"npm","name":"marked","purl":"pkg:npm/marked","ranges":["<0.3.17"],"fixed":["0.3.17"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}