Content Injection Affecting remarkable package, versions <1.4.1


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Mature
EPSS
0.09% (40th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDnpm:remarkable:20141113
  • published13 Nov 2014
  • disclosed13 Nov 2014
  • creditAdam Baldwin

Introduced: 13 Nov 2014

CVE-2014-10065  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade remarkable to version 1.4.1 or higher.

Overview

remarkable is a markdown parsing library written in Javascript.

Affected versions of this package are vulnerable to Content Injection. Certain input when passed into remarkable will bypass the bad prototcol check that disallows the javascript: scheme allowing for javascript: url's to be injected into the rendered content.

Details

Example:

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

This will be turned into <a href="javascript:alert(1)">link</a>

where as

[link](javascript:alert(1))

Would be rendered as [link](javascript:alert(1)) because it's an invalid scheme.

References

CVSS Scores

version 3.1