CVE-2015-1370 VBScript Content Injection in marked

Medium 4.3 Published Updated

Remote attackers can execute arbitrary scripts in user browsers via XSS in the marked Node.js library using vbscript tags.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2015-1370?

CVE-2015-1370 is a medium-severity cross-site scripting vulnerability in n/a, published on 27 Jan 2015. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

Incomplete blacklist vulnerability in marked 0.3.2 and earlier for Node.js allows remote attackers to conduct cross-site scripting (XSS) attacks via a vbscript tag in a link.

Which versions are affected by CVE-2015-1370?

2 open source packages ship an affected version, including marked. It affects 1 product.

PackageAffectedFixed in
marked npmAll versions0.3.3
marked npmAll versions0.3.3

Products include Marked Project Marked.

How do I fix CVE-2015-1370?

Upgrade marked to 0.3.3 or later.

Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.

Is CVE-2015-1370 being exploited?

There is no known exploitation of CVE-2015-1370 in the wild and no public exploit code.

Sources

Also known as DEBIAN-CVE-2015-1370, GHSA-cfjh-p3g4-3q2f, UBUNTU-CVE-2015-1370.

Is CVE-2015-1370 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free