Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/marked@0.2.3
purl pkg:npm/marked@0.2.3
Next non-vulnerable version 4.0.10
Latest non-vulnerable version 18.0.2
Risk 4.0
Vulnerabilities affecting this package (15)
Vulnerability Summary Fixed by
VCID-1pxm-8vn6-xbgk
Aliases:
GHSA-32vw-r77c-gm67
Withdrawn Advisory: marked cross-site scripting vulnerability Versions 0.3.2 and earlier of marked are affected by a cross-site scripting vulnerability even when sanitize:true is set.
0.3.3
Affected by 10 other vulnerabilities.
VCID-3hp9-cv2c-r7gc
Aliases:
CVE-2014-3743
GHSA-9cw2-jqp5-7x39
Multiple Content Injection Vulnerabilities Marked comes with an option to sanitize user output to help protect against content injection attacks. ```sanitize: true``` Even if this option is set, marked is vulnerable to content injection in multiple locations if untrusted user input is allowed to be provided into marked and that output is passed to the browser. Injection is possible in two locations - gfm codeblocks (language) - javascript url's
0.3.1
Affected by 13 other vulnerabilities.
VCID-3nt4-689k-qkan
Aliases:
CVE-2015-8854
GHSA-hjcp-j389-59ff
Regular Expression Denial of Service Marked 0.3.3 and earlier is vulnerable to regular expression denial of service (ReDoS) when certain types of input are passed in to be parsed. "The Regular expression Denial of Service (ReDoS) is a Denial of Service attack, that exploits the fact that most Regular Expression implementations may reach extreme situations that cause them to work very slowly (exponentially related to input size). An attacker can then cause a program using a Regular Expression to enter these extreme situations and then hang for a very long time." [1] Marked's catastrophic backtracking issue for the `em` inline rule has now been patched in 0.3.4.
0.3.4
Affected by 9 other vulnerabilities.
VCID-5bd3-3bhj-e7hr
Aliases:
CVE-2016-10531
GHSA-vfvf-mqq8-rwqc
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') marked is an application that is meant to parse and compile markdown. Due to the way that marked 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.
0.3.6
Affected by 7 other vulnerabilities.
VCID-7hw9-qfnv-gkcr
Aliases:
GMS-2016-24
Sanitization bypass using HTML Entities Due to the way that marked 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.
0.3.6
Affected by 7 other vulnerabilities.
VCID-8sge-yv9a-gyf7
Aliases:
GMS-2017-212
Regular Expression Denial of Service The marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can block for around 6 seconds.
0.3.9
Affected by 3 other vulnerabilities.
VCID-ahdy-enkb-qucy
Aliases:
CVE-2017-17461
GHSA-crmx-v835-hcp4
Moderate severity vulnerability that affects marked ** REJECT ** DO NOT USE THIS CANDIDATE NUMBER. ConsultIDs: none. Reason: This candidate was withdrawn by its CNA. Further investigation showed that it was not a security issue. Notes: none.
0.3.9
Affected by 3 other vulnerabilities.
VCID-aseb-q28a-c3bg
Aliases:
GMS-2015-1
Regular expression denial of service Marked is vulnerable to regular expression denial of service (ReDoS) when certain types of input are passed in to be parsed.
0.3.4
Affected by 9 other vulnerabilities.
VCID-awq5-34c9-tkes
Aliases:
CVE-2022-21681
GHSA-5v2h-r2cx-5xgj
Inefficient Regular Expression Complexity 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 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.
4.0.10
Affected by 0 other vulnerabilities.
VCID-b8e2-2cre-2bbt
Aliases:
CVE-2018-25110
GHSA-p9wx-2529-fp83
Marked allows Regular Expression Denial of Service (ReDoS) attacks 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.
0.3.17
Affected by 3 other vulnerabilities.
VCID-edfz-a78w-13dh
Aliases:
CVE-2017-1000427
GHSA-7px7-7xjx-hxm8
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') marked is vulnerable to an XSS attack in the data: URI parser.
0.3.7
Affected by 5 other vulnerabilities.
VCID-gzan-ec95-93ex
Aliases:
CVE-2017-16114
GHSA-x5pg-88wf-qq4p
Uncontrolled Resource Consumption The marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can block for around 6 seconds.
0.3.9
Affected by 3 other vulnerabilities.
VCID-xdzq-65a6-67h5
Aliases:
CVE-2014-1850
Multiple Content Injection Vulnerabilities Marked comes with an option to sanitize user output to help protect against content injection attacks. ```sanitize: true``` Even if this option is set, marked is vulnerable to content injection in multiple locations if untrusted user input is allowed to be provided into marked and that output is passed to the browser. Injection is possible in two locations - gfm codeblocks (language) - javascript url's
0.3.1
Affected by 13 other vulnerabilities.
VCID-xf3w-qz3m-h7fv
Aliases:
CVE-2022-21680
GHSA-rrrm-qjm4-v8hf
Inefficient Regular Expression Complexity 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 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.
4.0.10
Affected by 0 other vulnerabilities.
VCID-y6xb-gmwg-7qbc
Aliases:
CVE-2015-1370
GHSA-cfjh-p3g4-3q2f
VBScript Content Injection Marked 0.3.2 and earlier is vulnerable to content injection even when `sanitize: true` is enabled. `[xss link](vbscript:alert(1&#41;)` will get a link `<a href="vbscript:alert(1)">xss link</a>` this script does not work in IE 11 edge mode, but works in IE 10 compatibility view.
0.3.3
Affected by 10 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T23:17:50.625920+00:00 GHSA Importer Affected by VCID-5bd3-3bhj-e7hr https://github.com/advisories/GHSA-vfvf-mqq8-rwqc 38.6.0
2026-06-06T23:11:36.665130+00:00 GHSA Importer Affected by VCID-gzan-ec95-93ex https://github.com/advisories/GHSA-x5pg-88wf-qq4p 38.6.0
2026-06-06T23:10:22.228750+00:00 GHSA Importer Affected by VCID-edfz-a78w-13dh https://github.com/advisories/GHSA-7px7-7xjx-hxm8 38.6.0
2026-06-06T05:50:28.727703+00:00 GitLab Importer Affected by VCID-b8e2-2cre-2bbt https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2018-25110.yml 38.6.0
2026-06-06T01:17:58.655037+00:00 GitLab Importer Affected by VCID-xf3w-qz3m-h7fv https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2022-21680.yml 38.6.0
2026-06-06T01:17:50.488196+00:00 GitLab Importer Affected by VCID-awq5-34c9-tkes https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2022-21681.yml 38.6.0
2026-06-04T20:34:37.407225+00:00 GitLab Importer Affected by VCID-3hp9-cv2c-r7gc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2014-3743.yml 38.6.0
2026-06-04T20:33:48.946192+00:00 GitLab Importer Affected by VCID-1pxm-8vn6-xbgk https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/GHSA-32vw-r77c-gm67.yml 38.6.0
2026-06-04T20:12:59.056035+00:00 GitLab Importer Affected by VCID-gzan-ec95-93ex https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2017-16114.yml 38.6.0
2026-06-04T20:12:19.034196+00:00 GitLab Importer Affected by VCID-5bd3-3bhj-e7hr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2016-10531.yml 38.6.0
2026-06-04T20:10:44.534368+00:00 GitLab Importer Affected by VCID-ahdy-enkb-qucy https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2017-17461.yml 38.6.0
2026-06-04T20:10:37.873663+00:00 GitLab Importer Affected by VCID-edfz-a78w-13dh https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2017-1000427.yml 38.6.0
2026-06-04T20:09:56.405166+00:00 GitLab Importer Affected by VCID-3nt4-689k-qkan https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2015-8854.yml 38.6.0
2026-06-04T20:08:58.970995+00:00 GitLab Importer Affected by VCID-8sge-yv9a-gyf7 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/GMS-2017-212.yml 38.6.0
2026-06-04T20:05:48.965519+00:00 GitLab Importer Affected by VCID-7hw9-qfnv-gkcr https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/GMS-2016-24.yml 38.6.0
2026-06-04T20:04:40.565539+00:00 GitLab Importer Affected by VCID-y6xb-gmwg-7qbc https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2015-1370.yml 38.6.0
2026-06-04T20:04:39.371729+00:00 GitLab Importer Affected by VCID-aseb-q28a-c3bg https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/GMS-2015-1.yml 38.6.0
2026-06-04T20:03:57.832278+00:00 GitLab Importer Affected by VCID-xdzq-65a6-67h5 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/marked/CVE-2014-1850.yml 38.6.0