VBScript Content Injection

Affecting marked package, versions <=0.3.2

medium severity

Overview

Marked 0.3.2 and earlier is vulnerable to content injection even when sanitize: true is enabled.

[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.

Source: Node Security Project

Remediation

Upgrade to version 0.3.3 or greater.

References

Snyk patch available for versions:

Credit
Xiao Long
CVE
CVE-2015-1370
CWE
CWE-74
Snyk ID
npm:marked:20140131-2
Disclosed
30 Jan, 2014
Published
30 Jan, 2014

Do your applications use this vulnerable package?