CVE-2016-10531

Published May 31, 2018 CVSS 3.0 · 6.1 Medium EPSS 1.4% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2019-0347 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.
Github GHSA Github GHSA GHSA-vfvf-mqq8-rwqc Sanitization bypass using HTML Entities in marked
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
hackerone
Published
Updated
Sep 17, 2024, 4:28 AM
Reserved
Oct 29, 2017, 12:00 AM
Status
Modified
Published
May 31, 2018, 8:29 PM
Modified
Jun 17, 2026, 12:39 AM