Vulnerability 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 Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Marked Project | Marked | <= 0.3.5 |
Related Weaknesses (CWE)
References
- https://github.com/chjj/marked/pull/592ExploitIssue TrackingThird Party Advisory
- https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470PatchThird Party Advisory
- https://nodesecurity.io/advisories/101Third Party Advisory
- https://github.com/chjj/marked/pull/592ExploitIssue TrackingThird Party Advisory
- https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470PatchThird Party Advisory
- https://nodesecurity.io/advisories/101Third Party Advisory
FAQ
What is CVE-2016-10531?
CVE-2016-10531 is a vulnerability with a CVSS score of 6.1 (MEDIUM). 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 in...
How severe is CVE-2016-10531?
CVE-2016-10531 has been rated MEDIUM with a CVSS base score of 6.1/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2016-10531?
Check the references section above for vendor advisories and patch information. Affected products include: Marked Project Marked.