Snyk has a published code exploit for this vulnerability.
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 applicationsLearn about Cross-site Scripting (XSS) vulnerabilities in an interactive lesson.
Start learningUpgrade to plotly.js
version 1.16.0 or newer.
plotly.js
is a high-level, declarative charting library.
Affected versions of the package allow attackers to trick an unsuspecting user into viewing a specially crafted plot on a site that uses plotly.js
. The vulnerability would have allowed the attacker to retrieve authentication tokens and perform actions on behalf of the user.
plot.ly
is rendering SVG objects inside the DOM. href
tags are converted to the xlink:href attriubute on the <a>
tag. This allowed an attacker to break out into the DOM and inject a payload.
For more information, see Jared's post explaining the issue very well.
<>