VBScript Content Injection

Affecting marked package, versions <0.3.3

Do your applications use this vulnerable package? Test your applications

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:

CVSS Score

6.5
medium severity
  • Attack Vector
    Network
  • Attack Complexity
    Low
  • Privileges Required
    None
  • User Interaction
    None
  • Scope
    Unchanged
  • Confidentiality
    Low
  • Integrity
    Low
  • Availability
    None
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Credit
Xiao Long
CVE
CVE-2015-1370
CWE
CWE-74
Snyk ID
npm:marked:20140131-2
Disclosed
30 Jan, 2014
Published
30 Jan, 2014