NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-21485: Dash apps vulnerable to Cross-site Scripting

mediumCVSS 4.0 4.8 · 3.1 6.5GHSA-547x-748v-vp6p

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.

Published Feb 2, 2024 · Updated Jul 20, 2026

Affected packages

dash-core-components

Ecosystem
npm
Affected
< 2.13.0
Fixed in
2.13.0
Check
npm ls dash-core-components

dash

Ecosystem
PyPI
Affected
< 2.15.0
Fixed in
2.15.0
Check
pip show dash

dash-html-components

Ecosystem
npm
Affected
< 2.0.16
Fixed in
2.0.16
Check
npm ls dash-html-components

dash-html-components

Ecosystem
PyPI
Affected
< 2.0.0
Fixed in
2.0.0
Check
pip show dash-html-components

dash-core-components

Ecosystem
PyPI
Affected
< 2.0.0
Fixed in
2.0.0
Check
pip show dash-core-components

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

Credited to graingert.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology