npmWorst: High18 advisories

marked: known vulnerabilities

marked has 18 reviewed security advisories in the GitHub Advisory Database — 5 high, 12 moderate, 1 low. The most recent was published 2026-04-24. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the marked versions running across your servers, containers and images, and ranks what to patch first.

How to fix marked

Upgrade marked to a release at or above the fixed version shown for each advisory below. For npm:

npm install marked@18.0.2 (or run npm audit fix)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (18)

Marked Vulnerable to OOM Denial of Service via Infinite Recursion in marked Tokenizer High 7.5 CWE-400 CWE-674 CWE-835 — Affected: from 18.0.0 up to 18.0.2. Fixed in 18.0.2. Published 2026-04-24. GHSA-6v9c-7cg6-27q7 · CVE-2026-41680
Marked allows Regular Expression Denial of Service (ReDoS) attacks Moderate CWE-1333 — Affected: before 0.3.17. Fixed in 0.3.17. Published 2025-05-23. GHSA-p9wx-2529-fp83 · CVE-2018-25110
Inefficient Regular Expression Complexity in marked High 7.5 CWE-1333 — Affected: before 4.0.10. Fixed in 4.0.10. Published 2022-01-14. GHSA-5v2h-r2cx-5xgj · CVE-2022-21681
Inefficient Regular Expression Complexity in marked High 7.5 CWE-1333 CWE-400 — Affected: before 4.0.10. Fixed in 4.0.10. Published 2022-01-14. GHSA-rrrm-qjm4-v8hf · CVE-2022-21680
Regular Expression Denial of Service Moderate — Affected: from 0.5.0 up to 0.6.1. Fixed in 0.6.1. Published 2021-02-25. GHSA-7m7q-q53v-j47v
Cross-Site Scripting in marked Moderate — Affected: before 0.3.9. Fixed in 0.3.9. Published 2021-02-25. GHSA-8wp3-cp9v-44fm
Content injection in marked Moderate — Affected: before 0.3.9. Fixed in 0.3.9. Published 2021-02-25. GHSA-wjmf-58vc-xqjr
Regular Expression Denial of Service (REDoS) in Marked Moderate 5.3 CWE-400 — Affected: from 1.1.1 up to 2.0.0. Fixed in 2.0.0. Published 2021-02-08. GHSA-4r62-v4vq-hr96 · CVE-2021-21306
Regular Expression Denial of Service in marked Low CWE-1333 — Affected: from 0.4.0 up to 0.7.0. Fixed in 0.7.0. Published 2020-09-03. GHSA-ch52-vgq2-943f
Multiple Content Injection Vulnerabilities in marked Moderate 6.1 CWE-79 — Affected: before 0.3.1. Fixed in 0.3.1. Published 2020-08-31. GHSA-9cw2-jqp5-7x39 · CVE-2014-3743
Withdrawn Advisory: marked cross-site scripting vulnerability Moderate — Affected: before 0.3.3. Fixed in 0.3.3. Published 2020-08-03. GHSA-32vw-r77c-gm67
Marked ReDoS due to email addresses being evaluated in quadratic time Moderate 5.3 CWE-400 — Affected: from 0.3.14 up to 0.6.2. Fixed in 0.6.2. Published 2019-06-05. GHSA-xf5p-87ch-gxw2
Sanitization bypass using HTML Entities in marked Moderate 6.1 CWE-79 — Affected: before 0.3.6. Fixed in 0.3.6. Published 2019-02-18. GHSA-vfvf-mqq8-rwqc · CVE-2016-10531
Regular Expression Denial of Service in marked High 7.5 CWE-400 — Affected: before 0.3.9. Fixed in 0.3.9. Published 2018-07-24. GHSA-x5pg-88wf-qq4p · CVE-2017-16114
Moderate severity vulnerability that affects marked Moderate — Affected: before 0.3.9. Fixed in 0.3.9. Published 2018-01-04. GHSA-crmx-v835-hcp4 · CVE-2017-17461
Regular Expression Denial of Service in marked High 7.5 CWE-1333 — Affected: before 0.3.4. Fixed in 0.3.4. Published 2017-01-23. GHSA-hjcp-j389-59ff · CVE-2015-8854

Find marked across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.