CVE-2017-16006 XSS in Data URI in remarkable

Medium 6.1 Published Updated

Attackers can execute arbitrary JavaScript via data URIs in links, affecting applications using the Remarkable markdown parser.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-16006?

CVE-2017-16006 is a medium-severity cross-site scripting vulnerability in HackerOne remarkable node module, published on 4 Jun 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Remarkable is a markdown parser. In versions 1.6.2 and lower, remarkable allows the use of `data:` URIs in links and can therefore execute javascript.

Weakness: CWE-79

Which versions are affected by CVE-2017-16006?

2 open source packages ship an affected version, including remarkable. It affects 1 product.

PackageAffectedFixed in
remarkable npmAll versions1.7.0
remarkable npmAll versions1.7.0

Products include Remarkable Project Remarkable.

How do I fix CVE-2017-16006?

Upgrade remarkable to 1.7.0 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2017-16006 being exploited?

There is no known exploitation of CVE-2017-16006 in the wild and no public exploit code.

Sources

Also known as GHSA-mrmf-qwxg-7c3h.

Is CVE-2017-16006 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free