{"id":"CVE-2016-10531","published":"2018-05-31T20:00:00Z","modified":"2024-09-17T04:28:55Z","title":"marked is an application that is meant to parse and compile markdown","vendor":"HackerOne","product":"marked node module","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":null,"epss":{"score":0.01413,"percentile":0.73368,"provenance":"source"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"references":[{"url":"https://nodesecurity.io/advisories/101","tags":["x_refsource_MISC"]},{"url":"https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523","tags":["x_refsource_MISC"]},{"url":"https://github.com/chjj/marked/pull/592","tags":["x_refsource_MISC"]}],"priority":{"score":14.7,"factors":[{"name":"EPSS percentile","points":14.67}]},"vendorSlug":"hackerone","affectedVersions":[{"vendor":"HackerOne","product":"marked node module","versions":["<=0.3.5"]}],"affected":[{"ecosystem":"npm","package":"marked","vulnerableRanges":["<0.3.6"],"patched":["0.3.6"],"from":["GHSA-vfvf-mqq8-rwqc"],"provenance":"source"}],"summary":{"text":"The flaw is in the marked Node module, a markdown parser and compiler, in versions 0.3.5 and earlier, where HTML entity parsing lets input bypass its sanitize: true content injection protection. An attacker who can supply markdown that marked processes can use this bypass to inject a javascript: URL, which results in cross-site scripting. The available record does not specify the attack vector, required authentication, or user interaction, so those conditions cannot be stated from it.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:46:39Z"},"euvd":{"id":"EUVD-2019-0347","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2014-3743","published":"2020-01-06","fixed":"0.3.1","kev":false},{"cve":"CVE-2015-1370","published":"2015-01-27","fixed":"0.3.3","kev":false},{"cve":"CVE-2015-8854","published":"2017-01-23","fixed":"0.3.4","kev":false,"link":{"from":"CVE-2015-8854","to":"CVE-2016-10531","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:marked","fromFixed":"0.3.4","toFixed":"0.3.6","daysApart":493}]}},{"cve":"CVE-2016-10531","published":"2018-05-31","fixed":"0.3.6","kev":false},{"cve":"CVE-2017-1000427","published":"2018-01-02","fixed":"0.3.7","kev":false},{"cve":"CVE-2017-16114","published":"2018-06-07","fixed":"0.3.9","kev":false},{"cve":"CVE-2018-25110","published":"2025-05-23","fixed":"0.3.17","kev":false}],"package":"npm:marked"}}