CVE-2024-21485
Dash apps vulnerable to Cross-site Scripting
Record summary
EIP currently links 1 Nuclei template to CVE-2024-21485.
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.
Exploitation context
Available material
- Nuclei templates
- 1
CISA SSVC decision
CISA Coordinator · SSVC 2.0.3 · Evaluated May 8, 2025 · Source: CVE List
Affected products and versions
8| Product | Source | Version range | Status |
|---|---|---|---|
dash | CVE List | Before 2.15.0 | affected |
dash-core-components | CVE List | Before 2.13.0 | affected |
| Before 2.0.0 | affected | ||
dash-html-components | CVE List | Before 2.0.0 | affected |
| Before 2.0.16 | affected | ||
| GitHub Advisory | Before 2.15.0 · Fixed in 2.15.0 | affected | |
dash-core-componentsBrowse npm / dash-core-components | GitHub Advisory | Before 2.13.0 · Fixed in 2.13.0 | affected |
dash-core-componentsBrowse PyPI / dash-core-components | GitHub Advisory | Before 2.0.0 · Fixed in 2.0.0 | affected |
dash-html-componentsBrowse PyPI / dash-html-components | GitHub Advisory | Before 2.0.0 · Fixed in 2.0.0 | affected |
dash-html-componentsBrowse npm / dash-html-components | GitHub Advisory | Before 2.0.16 · Fixed in 2.0.16 | affected |
Nuclei templates
1ProjectDiscoveryMEDIUMDash Framework - Cross-site ScriptingCVSS 5.4
Dash framework versions before 2.15.0 are vulnerable to Cross-site Scripting (XSS) via href attribute in anchor tags. This template tests for javascript:alert payload injection.
Impact
Data theft from users who access the compromised view and Access token stealing allowing attacker to impersonate users
Remediation
Upgrade to dash version 2.15.0 or later
Source: ProjectDiscovery