CVE-2024-21485
JSON

6.5medium

Dash apps vulnerable to Cross-site Scripting

Severity
6.5medium CVSS:3.1 by snyk
Exploit likelihood
1.47% (higher than 74% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
snyk
Also known as
GHSA-547x-748v-vp6pPYSEC-2024-35PYSEC-2026-219PYSEC-2026-220

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

Product or packageVersionsReported by
dash-core-componentsbefore 2.13.0, before 2.0.0CVE List
dashbefore 2.15.0CVE List
dash-html-componentsbefore 2.0.0, before 2.0.16CVE List
dash-core-components (npm)before 2.13.0GitHub Advisory Database
dash-html-components (PyPI)before 2.0.0GitHub Advisory Database, PyPA Advisory Database
dash-core-components (PyPI)before 2.0.0GitHub Advisory Database, PyPA Advisory Database
dash (PyPI)before 2.15.0, before 9920073c9a8619ae8f90fcec1924f2f3a4332a8c, before 2.13.0, from 2.14.0 before 2.15.0GitHub Advisory Database, PyPA Advisory Database
dash-html-components (npm)before 2.0.16GitHub Advisory Database
plotly dashbefore 2.13.0, from 2.14.0 before 2.15.0NVD

All scores

snyk6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N/E:P
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N
GitHubmedium CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:P/VC:N/VI:N/VA:N/SC:H/SI:L/SA:N
NVD5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N
PyPA Advisory Database5.4medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N

Classification

CWE-79

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Versiones del paquete dash-core-components anteriores a 2.13.0; todas las versiones del paquete dash-core-components; versiones del paquete anteriores a 2.15.0; todas las versiones del paquete dash-html-components; Las versiones del paquete dash-html-components anteriores a la 2.0.16 son vulnerables a Cross-site Scripting (XSS) cuando el href de la etiqueta a está controlado por un adversario. Un atacante autenticado que almacene una vista que aproveche esta vulnerabilidad podría robar los datos visibles para otro usuario que abra esa vista, no solo los datos ya incluidos en la página, sino que también podría, en teoría, realizar solicitudes adicionales y acceder a otros datos accesibles para este usuario. En algunos casos, también podrían robar los tokens de acceso de ese usuario, lo que permitiría al atacante actuar como ese usuario, incluida la visualización de otras aplicaciones y recursos alojados en el mismo servidor. **Nota:** Esto solo se puede explotar en aplicaciones Dash que incluyen algún mecanismo para almacenar la entrada del usuario para que un usuario diferente la recargue.

PyPA Advisory Database

Versions of the package dash-core-components before 2.13.0; all versions of the package dash-core-components; versions of the package dash before 2.15.0; all versions of the package dash-html-components; 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.

References

https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084evidence, exploit, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334evidence, exploit, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335evidence, exploit, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336evidence, exploit, third-party-advisory, web
https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337evidence, exploit, third-party-advisory, web
https://github.com/plotly/dash/issues/2729evidence, exploit, issue-tracking, report, web
https://github.com/plotly/dash/pull/2732fix, issue-tracking, patch, report, web
https://github.com/plotly/dash/releases/tag/v2.15.0release-notes, web
https://github.com/plotly/dash/commit/9920073c9a8619ae8f90fcec1924f2f3a4332a8cfix, patch, web
https://nvd.nist.gov/vuln/detail/CVE-2024-21485advisory
https://github.com/advisories/GHSA-547x-748v-vp6padvisory
https://github.com/plotly/dashpackage

Sources

SourceRecordLicence
CVE ListCVE-2024-21485 changed 2025-05-15CVE Terms of Use
GitHub Advisory DatabaseGHSA-547x-748v-vp6p changed 2026-07-20CC-BY-4.0
NVDCVE-2024-21485 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-35 changed 2026-06-23CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-219 changed 2026-06-24CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-220 changed 2026-06-24CC-BY-4.0