p PatchFirst

PatchFirst · Latest vulnerabilities

marked vulnerabilities

Vulnerabilities published for marked in the last 30 days: 0. Listed in the KEV catalogue: 0.

Filter vulnerabilities
Clear filters

Vulnerabilities: 13

  1. CVE-2026-41680

    High · CVSS 8.7EPSS 0.34%Fix available

    Marked: OOM Denial of Service via Infinite Recursion in marked Tokenizer

    Marked is a markdown parser and compiler. From 18.0.0 to 18.0.1, a critical Denial of Service (DoS) vulnerability exists in marked. By providing a specific 3-byte input sequence a tab, a vertical tab, and a newline (\x09\x0b\n)—an unauthenticated attacker can trigger an infinite recursion loop during parsing. This leads to unbounded memory allocation, causing the host Node.js application to crash via Memory Exhaustion (OOM). This vulnerability is fixed in 18.0.2.

    • Update to 18.0.2
    Published Updated
  2. CVE-2018-25110

    Medium · CVSS 6.9EPSS 0.61%Fix available

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

    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.

    • Update to 0.3.17
    Published Updated
  3. CVE-2022-21681

    High · CVSS 7.5EPSS 2.77%Fix available

    Exponential catastrophic backtracking (ReDoS) in marked

    Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `inline.reflinkSearch` may cause catastrophic backtracking against some strings and lead to a denial of service (DoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

    • Update to 4.0.10
    Published Updated
  4. CVE-2022-21680

    High · CVSS 7.5EPSS 2.85%Fix available

    Cubic catastrophic backtracking (ReDoS) in marked

    Marked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against some strings and lead to a regular expression denial of service (ReDoS). Anyone who runs untrusted markdown through a vulnerable version of marked and does not use a worker with a time limit may be affected. This issue is patched in version 4.0.10. As a workaround, avoid running untrusted markdown through marked or run marked on a worker thread and set a reasonable time limit to prevent draining resources.

    • Update to 4.0.10
    Published Updated
  5. CVE-2021-21306

    Medium · CVSS 5.3EPSS 2.46%Fix available

    Denial of Service in Marked

    Marked is an open-source markdown parser and compiler (npm package "marked"). In marked from version 1.1.1 and before version 2.0.0, there is a Regular expression Denial of Service vulnerability. This vulnerability can affect anyone who runs user generated code through marked. This vulnerability is fixed in version 2.0.0.

    • Update to 2.0.0
    Published Updated
  6. GHSA-ch52-vgq2-943f

    Not ratedFix available

    Regular Expression Denial of Service in marked

    Affected versions of `marked` are vulnerable to Regular Expression Denial of Service (ReDoS). The `_label` subrule may significantly degrade parsing performance of malformed input. ## Recommendation Upgrade to version 0.7.0 or later.

    • Update to 0.7.0
    Published Updated
  7. GHSA-xf5p-87ch-gxw2

    Medium · CVSS 5.3Fix available

    Marked ReDoS due to email addresses being evaluated in quadratic time

    Versions of `marked` from 0.3.14 until 0.6.2 are vulnerable to Regular Expression Denial of Service. Email addresses may be evaluated in quadratic time, allowing attackers to potentially crash the node process due to resource exhaustion. ## Recommendation Upgrade to version 0.6.2 or later.

    • Update to 0.6.2
    Published Updated
  8. CVE-2016-10531

    Medium · CVSS 6.1EPSS 1.44%Fix available

    CVE-2016-10531

    marked is an application that is meant to parse and compile markdown. Due to the way that marked 0.3.5 and earlier parses input, specifically HTML entities, it's possible to bypass marked's content injection protection (`sanitize: true`) to inject a `javascript:` URL. This flaw exists because `&#xNNanything;` gets parsed to what it could and leaves the rest behind, resulting in just `anything;` being left.

    • Update to 0.3.6
    Published Updated
  9. CVE-2015-8854

    High · CVSS 7.5EPSS 4.42%Fix available

    CVE-2015-8854

    The marked package before 0.3.4 for Node.js allows attackers to cause a denial of service (CPU consumption) via unspecified vectors that trigger a "catastrophic backtracking issue for the em inline rule," aka a "regular expression denial of service (ReDoS)."

    • Update to 0.3.4
    Published Updated

Check your server

Check your installed stack and versions against the current vulnerability feeds.

Check your server →