ADVISORIES

Vulnerability

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.

3 advisories report this vulnerability, across 3 ecosystems.

Medium severity All Debian 1Ubuntu 1npm 1

Advisories

  • DEBIAN-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…

    CVE-2016-10531 Debian Updated 22 September 2026
  • GHSA-vfvf-mqq8-rwqc

    Sanitization bypass using HTML Entities in marked

    Moderate CVE-2016-10531 npm Updated 8 November 2023
  • UBUNTU-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…

    CVE-2016-10531 Ubuntu Updated 24 October 2025

References