Skip to content

Content Injection in remarkable

High severity GitHub Reviewed Published Aug 31, 2020 to the GitHub Advisory Database • Updated Apr 3, 2023

Package

npm remarkable (npm)

Affected versions

< 1.4.1

Patched versions

1.4.1

Description

Versions 1.4.0 and earlier of remarkable are affected by a cross-site scripting vulnerability. This occurs because vulnerable versions of remarkable did not properly whitelist link protocols, and consequently allowed javascript: to be used.

Proof of Concept

Markdown Source:

[link](<javascript:alert(1)>)

Rendered HTML:

<a href="javascript:alert(1)">link</a>

Recommendation

Update to version 1.4.1 or later

References

Reviewed Aug 31, 2020
Published to the GitHub Advisory Database Aug 31, 2020
Last updated Apr 3, 2023

Severity

High

EPSS score

0.090%
(39th percentile)

Weaknesses

CVE ID

CVE-2014-10065

GHSA ID

GHSA-f9vc-q3hh-qhfv

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.