CVE-2024-21485

Medium

Description

Versions of the package dash-core-components before 2.13.0; versions of the package dash-core-components before 2.0.0; versions of the package dash before 2.15.0; versions of the package dash-html-components before 2.0.0; versions of the package dash-html-components before 2.0.16 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.

SeverityMedium
CVSS6.5
Exploit probability—
ProductPlotly Dash
PublishedFeb 2, 2024
First seenFeb 2, 2024

How to fix

Update
  • plotly dash2.13.0, 2.15.0 or later
  • dash-core-components2.13.0, 2.0.0 or later
  • dash-html-components2.0.0, 2.0.16 or later
  • dash2.15.0, 2.13.0 or later

Affected products

ProductAffected versionsFixed in
plotly dashv < 2.13.0, 2.14.0 ≤ v < 2.15.02.13.0, 2.15.0
dash-core-componentsnpmv < 2.13.0, v < 2.0.02.13.0, 2.0.0
dash-html-componentsPyPIv < 2.0.0, v < 2.0.162.0.0, 2.0.16
dashPyPIv < 2.15.0, v < 2.13.0, 2.14.0 ≤ v < 2.15.02.15.0, 2.13.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.