XSS in Plotly Dash
CVE-2024-21485
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.
Vulnerability class: XSS (Cross-Site Scripting)
EPSS: 0.015 (71.2th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N.
Affected products
- Plotly Dash
- N/a Dash — versions 0
- N/a Dash-core-components — versions 0
- N/a Dash-html-components — versions 0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Exploit, Third Party Advisory)
- report@snyk.io (Exploit, Third Party Advisory)
- report@snyk.io (Exploit, Third Party Advisory)
- report@snyk.io (Exploit, Third Party Advisory)
- report@snyk.io (Exploit, Third Party Advisory)
- report@snyk.io (Exploit, Issue Tracking)
- report@snyk.io (Patch, Issue Tracking)
- report@snyk.io (Release Notes)
- report@snyk.io (Patch)
Frequently asked questions
- What is CVE-2024-21485?
- CVE-2024-21485 is a medium-severity vulnerability in Plotly Dash, classified under Cross-site Scripting. CVSS score: 6.5/10. Published 2024-02-02.
- How severe is CVE-2024-21485?
- Medium severity. CVSS v3 base score is 6.5 out of 10.
- Is CVE-2024-21485 known to be exploited?
- 1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.