XSS in HackerOne Marked Node Module
CVE-2016-10531
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.
Vulnerability class: XSS (Cross-Site Scripting)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.1 (Medium). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.014, 73.1th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- HackerOne Marked Node Module — versions <=0.3.5
- Marked Project
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 2 other repositories (ARPSyndicate/cvemon, HotDB-Community/HotDB-Engine). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- nodesecurity.io/advisories/101 (Third Party Advisory)
- github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523 (Patch, Third Party Advisory)
- github.com/chjj/marked/pull/592 (Exploit, Third Party Advisory, Issue Tracking)