← Vulnerability feed

Vulnerability record · CVE-2016-10531 · published 31 May 2018

CVE-2016-10531: Marked project marked cross-site scripting vulnerability

MMarked Project · Marked

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.

6.1 CVSS 3.0 Medium EPSS 1.5% · top 27.4% CWE-79 · Cross-site scripting
6.1CVSS 3.0 base score, v2 4.3
1.5%EPSS exploitation probability, 30 days
NoNot in CISA KEV
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

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.

CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2016-10531 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

8.7CVE-2026-41680Marked project marked uncontrolled resource consumption vulnerabilityMarked 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 sp…EPSS 0.51%7.5CVE-2022-21680Marked project marked uncontrolled resource consumption vulnerabilityMarked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `block.def` may cause catastrophic backtracking against som…EPSS 2.9%7.5CVE-2022-21681Marked project marked uncontrolled resource consumption vulnerabilityMarked is a markdown parser and compiler. Prior to version 4.0.10, the regular expression `inline.reflinkSearch` may cause catastrophic backtracking …EPSS 2.8%7.5CVE-2021-21306Marked project marked uncontrolled resource consumption vulnerabilityMarked 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 Regul…EPSS 2.5%7.5CVE-2017-16114Marked project marked uncontrolled resource consumption vulnerabilityThe marked module is vulnerable to a regular expression denial of service. Based on the information published in the public issue, 1k characters can …EPSS 1.8%7.5CVE-2015-8854Marked project marked inefficient regular expression (redos) vulnerabilityThe 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 "c…EPSS 4.3%6.9CVE-2018-25110Marked project marked inefficient regular expression (redos) vulnerabilityMarked prior to version 0.3.17 is vulnerable to a Regular Expression Denial of Service (ReDoS) attack due to catastrophic backtracking in several reg…EPSS 0.59%6.1CVE-2014-3743Marked project marked cross-site scripting vulnerabilityMultiple cross-site scripting (XSS) vulnerabilities in the Marked module before 0.3.1 for Node.js allow remote attackers to inject arbitrary web scri…EPSS 1.7%

Source: NIST National Vulnerability Database (record CVE-2016-10531), CISA KEV, FIRST EPSS (scores of 2026-09-29). This page is refreshed as NVD updates the record.