CVE-2017-1000006 Cross Site Scripting (XSS) in plotly.js

Medium 6.1 Published Updated

An XSS vulnerability in plotly.js allows attackers to execute arbitrary scripts in the context of the user's browser.

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-2017-1000006?

CVE-2017-1000006 is a medium-severity cross-site scripting vulnerability in n/a, published on 13 Jul 2017. 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

Plotly, Inc. plotly.js versions prior to 1.16.0 are vulnerable to an XSS issue.

Weakness: CWE-79

Which versions are affected by CVE-2017-1000006?

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

PackageAffectedFixed in
plotly.js npmAll versions1.16.0
plotly.js npmAll versions1.16.0

Products include Plotly Plotly.js.

How do I fix CVE-2017-1000006?

Upgrade plotly.js to 1.16.0 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-2017-1000006 being exploited?

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

Sources

Also known as GHSA-2fqv-h3r5-m4vf.

Is CVE-2017-1000006 in your software?

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

Check your SBOMs for free