marked vulnerabilities

A markdown parser built for speed

Registry
npm
Latest
18.1.1
License
MIT

13 known advisories

The latest version, 18.1.1, is not affected by any of them. Projects on older versions may be.

Update to the latest version:npm install marked@18.1.1

Security advisories for marked

  • HighGHSA-6v9c-7cg6-27q729 Apr 2026

    Marked Vulnerable to OOM Denial of Service via Infinite Recursion in marked Tokenizer

    Affected
    >=18.0.0 <18.0.2
    Fixed in
    18.0.2
  • MediumGHSA-p9wx-2529-fp8323 May 2025

    Marked allows Regular Expression Denial of Service (ReDoS) attacks

    Affected
    <0.3.17
    Fixed in
    0.3.17
  • HighGHSA-5v2h-r2cx-5xgj14 Jan 2022

    Inefficient Regular Expression Complexity in marked

    Affected
    <4.0.10
    Fixed in
    4.0.10
  • HighGHSA-rrrm-qjm4-v8hf14 Jan 2022

    Inefficient Regular Expression Complexity in marked

    Affected
    <4.0.10
    Fixed in
    4.0.10
  • MediumGHSA-4r62-v4vq-hr968 Feb 2021

    Regular Expression Denial of Service (REDoS) in Marked

    Affected
    >=1.1.1 <2.0.0
    Fixed in
    2.0.0
  • LowGHSA-ch52-vgq2-943f3 Sept 2020

    Regular Expression Denial of Service in marked

    Affected
    >=0.4.0 <0.7.0
    Fixed in
    0.7.0
  • MediumGHSA-9cw2-jqp5-7x3931 Aug 2020

    Multiple Content Injection Vulnerabilities in marked

    Affected
    <0.3.1
    Fixed in
    0.3.1
  • MediumGHSA-xf5p-87ch-gxw25 Jun 2019

    Marked ReDoS due to email addresses being evaluated in quadratic time

    Affected
    >=0.3.14 <0.6.2
    Fixed in
    0.6.2
  • MediumGHSA-vfvf-mqq8-rwqc18 Feb 2019

    Sanitization bypass using HTML Entities in marked

    Affected
    <0.3.6
    Fixed in
    0.3.6
  • HighGHSA-x5pg-88wf-qq4p24 Jul 2018

    Regular Expression Denial of Service in marked

    Affected
    <0.3.9
    Fixed in
    0.3.9
  • MediumGHSA-7px7-7xjx-hxm84 Jan 2018

    Marked vulnerable to XSS from data URIs

    Affected
    <0.3.7
    Fixed in
    0.3.7
  • HighGHSA-hjcp-j389-59ff24 Oct 2017

    Regular Expression Denial of Service in marked

    Affected
    <0.3.4
    Fixed in
    0.3.4
  • MediumGHSA-cfjh-p3g4-3q2f24 Oct 2017

    VBScript Content Injection in marked

    Affected
    <0.3.3
    Fixed in
    0.3.3

Which of your client projects still run an old marked?

NPMscan reads the package-lock.json, yarn.lock and pnpm-lock.yaml in every GitHub repo you pick and checks each installed version against these advisories, including the packages your packages pull in. Each finding comes with the command that fixes it.

Other npm packages

Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily. Package details from the npm registry.