CVE-2024-21485Plotly Dash
Medium 5.4
Follow: this CVE · Plotly · Plotly Dash We alert you by email or Slack (account required).
- Priority
- 33
- CVSS 3.1
- 5.4
- EPSS
- 1.8% probability of exploitation in 30 days · percentile 80
- Auth required
- Yes
- Published
- Feb 2, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-79
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Dash.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | dash |
< 2.15.0 |
2.15.0 |
pip install "dash>=2.15.0" |
| PyPI | dash |
< 2.13.0 |
2.13.0 |
pip install "dash>=2.13.0" |
| PyPI | dash |
≥ 2.14.0 < 2.15.0 |
2.15.0 |
pip install "dash>=2.15.0" |
| PyPI | dash-core-components |
< 2.0.0 |
2.0.0 |
pip install "dash-core-components>=2.0.0" |
| PyPI | dash-core-components |
< 2.0.0 |
2.0.0 |
pip install "dash-core-components>=2.0.0" |
| PyPI | dash-html-components |
< 2.0.0 |
2.0.0 |
pip install "dash-html-components>=2.0.0" |
| PyPI | dash-html-components |
< 2.0.0 |
2.0.0 |
pip install "dash-html-components>=2.0.0" |
| npm | dash-core-components |
< 2.13.0 |
2.13.0 |
npm install dash-core-components@2.13.0 |
| npm | dash-html-components |
< 2.0.16 |
2.0.16 |
npm install dash-html-components@2.0.16 |
Per OSV / GitHub Advisories (GHSA-547x-748v-vp6p, PYSEC-2024-35, PYSEC-2026-219, PYSEC-2026-220). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| plotly | dash | < 2.13.0 |
| plotly | dash | ≥ 2.14.0 < 2.15.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Exploit Issue Tracking
- github.com Issue Tracking Patch
- github.com Release Notes
- security.snyk.io Exploit Third Party Advisory
- security.snyk.io Exploit Third Party Advisory
- security.snyk.io Exploit Third Party Advisory
- security.snyk.io Exploit Third Party Advisory
- security.snyk.io Exploit Third Party Advisory