CVE-2024-21485
Dash apps vulnerable to Cross-site Scripting
Also known as GHSA-547x-748v-vp6p, PYSEC-2024-35, PYSEC-2026-219, PYSEC-2026-220
Mitigation
- Upgrade dash-core-components to 2.13.0 or later.
- Upgrade dash-html-components to 2.0.0 or later.
- Upgrade dash-core-components to 2.0.0 or later.
- Upgrade dash to one of 2.15.0, 2.13.0 (or later in the same release line).
- Upgrade dash-html-components to 2.0.16 or later.
Who should check
- Projects that depend on npm package dash-core-components (< 2.13.0)
- Projects that depend on PyPI package dash-html-components (< 2.0.0)
- Projects that depend on PyPI package dash-core-components (< 2.0.0)
- Projects that depend on PyPI package dash (< 2.15.0)
- Projects that depend on npm package dash-html-components (< 2.0.16)
- Anyone running dash-core-components < 2.13.0
- Anyone running dash-core-components < 2.0.0
- Anyone running dash < 2.15.0
Vulnerability facts
- Affected
- dash-core-components < 2.13.0; dash-html-components < 2.0.0; dash-core-components < 2.0.0; dash < 2.15.0; dash-html-components < 2.0.16
- Fixed in
- 2.13.0, 2.0.0, 2.15.0, 2.0.16
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- Yes: see the exploit references below
- Remote exploitation
- Remote, login needed
- CVSS
- 6.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N/E:POpen in CVSS calculator
Show all 9 CVSS metrics
- Attack vector: Network
- Attack complexity: High
- Privileges required: Low
- User interaction: Required
- Scope: Changed (impact reaches other components)
- Confidentiality impact: High
- Integrity impact: Low
- Availability impact: None
- E: P
- EPSS
- 1.85% chance of exploitation in 30 days (percentile 80, 2026-11-26)
- CWE
- CWE-79
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| 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, 2.13.0 | osv |
| npm dash-html-components | < 2.0.16 | 2.0.16 | osv |
| dash-core-components | < 2.13.0 | — | cvelist |
| dash-core-components | < 2.0.0 | — | cvelist |
| dash | < 2.15.0 | — | cvelist |
| dash-html-components | < 2.0.0 | — | cvelist |
| dash-html-components | < 2.0.16 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2024-21485. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2024-21485.md Affected: dash-core-components < 2.13.0; dash-html-components < 2.0.0; dash-core-components < 2.0.0; dash < 2.15.0; dash-html-components < 2.0.16 Fixed in: 2.13.0, 2.0.0, 2.15.0, 2.0.16 Steps: 1. Search this machine and project for dash-core-components (npm), dash-html-components (PyPI), dash-core-components (PyPI), dash (PyPI), dash-html-components (npm), dash-core-components: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Exploits and PoCs
- https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084
- https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334
- https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335
- https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336
- https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337
- https://github.com/plotly/dash/issues/2729
Other
- https://github.com/plotly/dash/releases/tag/v2.15.0
- https://github.com/plotly/dash
- https://github.com/pypa/advisory-database/tree/main/vulns/dash-core-components/PYSEC-2026-219.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/dash-html-components/PYSEC-2026-220.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/dash/PYSEC-2024-35.yaml
FAQ
Is CVE-2024-21485 being exploited?
There is no confirmed exploitation: CVE-2024-21485 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.85% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2024-21485?
Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed. A user has to take an action, such as opening a link, for the attack to work. The attack needs conditions outside the attacker's control, which makes it harder.
Which versions are affected by CVE-2024-21485?
dash-core-components < 2.13.0; dash-html-components < 2.0.0; dash-core-components < 2.0.0; dash < 2.15.0; dash-html-components < 2.0.16.
Is there a fix for CVE-2024-21485?
Yes. Fixed in 2.13.0, 2.0.0, 2.15.0, 2.0.16. Upgrade dash-core-components to 2.13.0 or later. Upgrade dash-html-components to 2.0.0 or later. Upgrade dash-core-components to 2.0.0 or later. Upgrade dash to one of 2.15.0, 2.13.0 (or later in the same release line). Upgrade dash-html-components to 2.0.16 or later.
How do I check if I'm affected by CVE-2024-21485?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.