VYPR
High severityNVD Advisory· Published Jun 4, 2018· Updated Sep 17, 2024

CVE-2017-16006

CVE-2017-16006

Description

Remarkable markdown parser ≤1.6.2 allows XSS via data: URIs in links.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Remarkable markdown parser ≤1.6.2 allows XSS via `data:` URIs in links.

Vulnerability

Remarkable, a markdown parser for JavaScript, prior to and including version 1.6.2, does not properly sanitize data: URIs in markdown links. This allows an attacker to inject arbitrary JavaScript code via a crafted link using data:text/html,). When the markdown is rendered by remarkable and a user clicks the link in a browser, the browser will execute the JavaScript in the context of the page's domain [3]. No authentication or special privileges are required; the attacker only needs to inject the payload into markdown content that will be rendered by remarkable [1][2].

Impact

Successful exploitation leads to cross-site scripting (XSS) in the context of the page displaying the rendered markdown. This allows an attacker to execute arbitrary JavaScript, potentially stealing cookies, session tokens, or performing actions on behalf of the victim user [2][3].

Mitigation

Upgrade to remarkable version 1.7.0 or later, which addresses this issue by filtering out data: URIs [2]. If upgrading is not possible, users can implement a custom validateLink function to whitelist safe protocols [3]. The affected versions are ≤1.6.2 [1][2]. This vulnerability is not known to be listed in CISA's KEV.

AI Insight generated on May 22, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
remarkablenpm
< 1.7.01.7.0

Affected products

2
  • ghsa-coords
    Range: < 1.7.0
  • HackerOne/remarkable node modulev5
    Range: <=1.6.2

Patches

0

No patches discovered yet.

Vulnerability mechanics

AI mechanics synthesis has not run for this CVE yet.

References

5

News mentions

0

No linked articles in our index yet.