dash@0.42.0 vulnerabilities

A Python framework for building reactive web-apps. Developed by Plotly.

Direct Vulnerabilities

Known vulnerabilities in the dash package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Cross-site Scripting (XSS)

dash is a Python framework for building reactive web-apps. Developed by Plotly.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS) when the href of the a tag is controlled by an adversary. An authenticated attacker who stores a view that exploits this vulnerability could steal the data that's visible to another user who opens that view - not just the data already included on the page, but they could also, in theory, make additional requests and access other data accessible to this user. In some cases, they could also steal the access tokens of that user, which would allow the attacker to act as that user, including viewing other apps and resources hosted on the same server.

Note:

This is only exploitable in Dash apps that include some mechanism to store user input to be reloaded by a different user.

How to fix Cross-site Scripting (XSS)?

Upgrade dash to version 2.15.0 or higher.

[,2.15.0)
  • M
Cross-site Scripting (XSS)

dash is a Python framework for building reactive web-apps. Developed by Plotly.

Affected versions of this package are vulnerable to Cross-site Scripting (XSS). When a callback request comes in, it has two somewhat redundant fields: output and outputs. The former is the stringified callback ID, the latter a dict {id, property} or list of such dicts (potentially nested in case of multi-element pattern-matching wildcards). We look up the callback using only output, but then in the response we incorporate the values in outputs. The malicious content inserted in outputs will come back unmodified.

How to fix Cross-site Scripting (XSS)?

Upgrade dash to version 1.20.0 or higher.

[,1.20.0)