Skip to main content
← All vulnerabilities
CVE-2018-25110GHSA-P9WX-2529-FP83

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

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.17
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • marked

    fixed in 0.3.17

  • markednpm

    fixed in 0.3.17

References 4

GitHub · markedjs/marked

GitHub · Checkmarx/Vulnerabilities-Proofs-of-Concept