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 package | Versions | Reported by |
|---|---|---|
| dash-core-components | before 2.13.0, before 2.0.0 | CVE List |
| dash | before 2.15.0 | CVE List |
| dash-html-components | before 2.0.0, before 2.0.16 | CVE List |
| dash-core-components (npm) | before 2.13.0 | GitHub Advisory Database |
| dash-html-components (PyPI) | before 2.0.0 | GitHub Advisory Database, PyPA Advisory Database |
| dash-core-components (PyPI) | before 2.0.0 | GitHub Advisory Database, PyPA Advisory Database |
| dash (PyPI) | before 2.15.0, before 9920073c9a8619ae8f90fcec1924f2f3a4332a8c, before 2.13.0, from 2.14.0 before 2.15.0 | GitHub Advisory Database, PyPA Advisory Database |
| dash-html-components (npm) | before 2.0.16 | GitHub Advisory Database |
| plotly dash | before 2.13.0, from 2.14.0 before 2.15.0 | NVD |
All scores
| snyk | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N/E:P |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |
| GitHub | medium 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 | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
| PyPA Advisory Database | 5.4medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N |
Classification
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
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-21485 changed 2025-05-15 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-547x-748v-vp6p changed 2026-07-20 | CC-BY-4.0 |
| NVD | CVE-2024-21485 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2024-35 changed 2026-06-23 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-219 changed 2026-06-24 | CC-BY-4.0 |
| PyPA Advisory Database | PYSEC-2026-220 changed 2026-06-24 | CC-BY-4.0 |