CVE-2024-21485
MEDIUM 5.4CVSS 3.1Dash apps vulnerable to Cross-site Scripting
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.
- Published
- 2 Feb 2024
- Last modified
- 20 Jul 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-79
- Also known as
- GHSA-547x-748v-vp6pPYSEC-2024-35PYSEC-2026-219PYSEC-2026-220
- Sources
- NVDJSONOSV GHSA-547x-748v-vp6pJSONOSV PYSEC-2024-35JSONOSV PYSEC-2026-219JSONOSV PYSEC-2026-220JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N | |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| OSV | PyPA | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | plotly | dashcpe:2.3:a:plotly:dash:*:*:*:*:*:*:*:* |
< 2.13.0 | 2.13.0 |
| NVD | plotly | dashcpe:2.3:a:plotly:dash:*:*:*:*:*:*:*:* |
>= 2.14.0, < 2.15.0 | 2.15.0 |
| OSV | npm | dash-core-components | < 2.13.0 | 2.13.0 |
| OSV | PyPI | dash-html-components | < 2.0.0 | 2.0.0 |
| OSV | PyPI | dash-core-components | < 2.0.0 | 2.0.0 |
| OSV | PyPI | dash | < 2.15.0 | 2.15.0 |
| OSV | npm | dash-html-components | < 2.0.16 | 2.0.16 |
| OSV | PyPI | dash | < 2.13.0; >= 2.14.0, < 2.15.0 | 2.13.0, 2.15.0 |
References
- https://github.com/plotly/dash/commit/9920073c9a8619ae8f90fcec1924f2f3a4332a8c · Patch, WEB, FIX
- https://github.com/plotly/dash/issues/2729 · Exploit, Issue Tracking, WEB, EVIDENCE, REPORT
- https://github.com/plotly/dash/pull/2732 · Issue Tracking, Patch, WEB, REPORT, FIX
- https://github.com/plotly/dash/releases/tag/v2.15.0 · Release Notes, WEB
- https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336 · Exploit, Third Party Advisory, WEB, EVIDENCE
- https://nvd.nist.gov/vuln/detail/CVE-2024-21485 · ADVISORY
- https://github.com/advisories/GHSA-547x-748v-vp6p · ADVISORY
- https://github.com/plotly/dash · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/dash-core-components/PYSEC-2026-219.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/dash-html-components/PYSEC-2026-220.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/dash/PYSEC-2024-35.yaml · WEB
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 2 Feb 2024)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Jun 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Feb 2024)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Feb 2024)