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.015 (72.6th percentile), scored .
Low probability of exploitation in the next 30 days, but still tracked. 73rd percentile — 72.6% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.015 · newest: 0.015 · change: 0.000
Affected products
- HackerOne Marked Node Module — versions <=0.3.5
- Marked Project
Weakness classification (CWE)
Public proof-of-concept exploits
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)
Frequently asked questions
- What is CVE-2016-10531?
- CVE-2016-10531 is a medium-severity vulnerability in HackerOne Marked Node Module, classified under Cross-site Scripting. CVSS score: 6.1/10. Published 2018-05-31.
- How severe is CVE-2016-10531?
- Medium severity. CVSS v3 base score is 6.1 out of 10.
- Is CVE-2016-10531 known to be exploited?
- 2 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.