CVE-2016-10531

State
Published
Severity
Not scored
Published
May 31, 2018
Updated
Sep 17, 2024
Reserved
Oct 29, 2017

Read the record on cve.org

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.

Scores

The record has no CVSS score.

Weaknesses

  • CWE-79 Cross-site Scripting (XSS) - Generic (CWE-79)

Affected Products

ProductVersions
marked node moduleHackerOne
  • <=0.3.5Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.