CVE-2016-10531
Last modified
CVE-2016-10531 is a vulnerability of currently unknown severity. 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. EPSS estimates a 1.46% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Marked Project | Marked | <= 0.3.5 |
References
- https://github.com/chjj/marked/pull/592Exploit, Issue Tracking, Third Party Advisory
- https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523Patch, Third Party Advisory
- https://nodesecurity.io/advisories/101Third Party Advisory
- https://github.com/chjj/marked/pull/592Exploit, Issue Tracking, Third Party Advisory
- https://github.com/chjj/marked/pull/592/commits/2cff85979be8e7a026a9aca35542c470cf5da523Patch, Third Party Advisory
- https://nodesecurity.io/advisories/101Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2016-10531?
How severe is CVE-2016-10531?
How do I fix CVE-2016-10531?
Are you affected by CVE-2016-10531?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
