Live threats

All CVEs / Marked Project

CVE-2016-10531Marked Project Marked

Medium 6.1 No auth needed

Priority
52
CVSS 3.0
6.1
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
No
Published
May 31, 2018
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-79
Vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Marked.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
npm marked < 0.3.6 0.3.6 npm install marked@0.3.6

Per OSV / GitHub Advisories (GHSA-vfvf-mqq8-rwqc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
marked_projectmarked≤ 0.3.5

Official sources

References

Links published by the sources. Open them with care.