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.
References
Link | Resource |
---|---|
https://github.com/chjj/marked/pull/592 | Exploit Issue Tracking Third Party Advisory |
https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523 | Patch Third Party Advisory |
https://nodesecurity.io/advisories/101 | Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: hackerone
Published: 2018-04-26T00:00:00
Updated: 2018-05-31T19:57:01
Reserved: 2017-10-29T00:00:00
Link: CVE-2016-10531
JSON object: View
NVD Information
Status : Modified
Published: 2018-05-31T20:29:01.033
Modified: 2019-10-09T23:16:43.620
Link: CVE-2016-10531
JSON object: View
Redhat Information
No data.
CWE