Skip to main content
← All vulnerabilities
CVE-2016-10531GHSA-VFVF-MQQ8-RWQC

marked is an application that is meant to parse and compile markdown.

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.3.6
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • HackerOne marked node module

    through 0.3.5

  • markednpm

    fixed in 0.3.6

References 3

nodesecurity.io

GitHub · chjj/marked