VBScript Content Injection Affecting marked package, versions <0.3.3


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.6% (79th 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:marked:20140131-2
  • published30 Jan 2014
  • disclosed30 Jan 2014
  • creditXiao Long

Introduced: 30 Jan 2014

CVE-2015-1370  (opens in a new tab)
CWE-74  (opens in a new tab)

How to fix?

Upgrade marked to version 0.3.3 or higher.

Overview

marked is a low-level compiler for parsing markdown without caching or blocking for long periods of time.

Affected versions of this package are vulnerable to VBScript Content Injection. [xss link](vbscript:alert(1&#41;)

will get a link

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

This script does not work in IE 11 edge mode, but works in IE 10 compatibility view.

CVSS Scores

version 3.1