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.
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
| Link | Tags |
|---|---|
| https://github.com/chjj/marked/pull/592 | ExploitIssue TrackingThird Party Advisory |
| https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523 | PatchThird Party Advisory |
| https://nodesecurity.io/advisories/101 | Third Party Advisory |
| https://github.com/chjj/marked/pull/592 | ExploitIssue TrackingThird Party Advisory |
| https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523 | PatchThird Party Advisory |
| https://nodesecurity.io/advisories/101 | Third Party Advisory |
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.
Related vulnerabilities
Same products first, then exploited flaws of the same weakness class.
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.