Is marked 4.0 vulnerable?

npm · 20 releases from 4.0.0 to 4.0.19 · latest marked is 18.1.3 · checked 2 Nov 2026

No known advisories in the last release

marked 4.0.19, the last 4.0 release, has no known advisories. 2 advisories affect earlier 4.0.x releases, so update to 4.0.19.

Update within 4.0:npm install marked@4.0.19

Is your project affected?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Fixed within 4.0.x, affecting earlier releases

  • HighCVE-2022-21681GHSA-5v2h-r2cx-5xgj14 Jan 2022

    Inefficient Regular Expression Complexity in marked

    Affected
    <4.0.10
    Fixed in
    4.0.10
  • HighCVE-2022-21680GHSA-rrrm-qjm4-v8hf14 Jan 2022

    Inefficient Regular Expression Complexity in marked

    Affected
    <4.0.10
    Fixed in
    4.0.10

Which of your client projects are still on marked 4.0?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact marked version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other marked versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the npm registry. Refreshed daily.