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

- Severity: Medium 6.5 (CVSS:3.1, scored by snyk) `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N/E:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.47%, higher than 74% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 6 links below, marked "exploit"
- Published: 2024-02-02T05:00:01.368Z
- Modified: 2026-07-20T13:45:33.730Z
- Also known as: GHSA-547x-748v-vp6p, PYSEC-2024-35, PYSEC-2026-219, PYSEC-2026-220
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: snyk

## 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.

(As written by CVE List.)

## Affected

- dash-core-components: before 2.13.0; before 2.0.0
- dash: before 2.15.0
- dash-html-components: before 2.0.0; before 2.0.16
- dash-core-components (npm): before 2.13.0
- dash-html-components (PyPI): before 2.0.0
- dash-core-components (PyPI): before 2.0.0
- dash (PyPI): before 2.15.0; before 9920073c9a8619ae8f90fcec1924f2f3a4332a8c; before 2.13.0; from 2.14.0 before 2.15.0
- dash-html-components (npm): before 2.0.16
- plotly dash: before 2.13.0; from 2.14.0 before 2.15.0

## Every score

- snyk: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N/E:P`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`
- PyPA Advisory Database: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084> (exploit, evidence, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334> (exploit, evidence, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335> (exploit, evidence, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336> (exploit, evidence, third-party-advisory, web)
- <https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337> (exploit, evidence, third-party-advisory, web)
- <https://github.com/plotly/dash/issues/2729> (exploit, evidence, issue-tracking, report, web)
- <https://github.com/plotly/dash/pull/2732> (fix, issue-tracking, patch, report, web)
- <https://github.com/plotly/dash/releases/tag/v2.15.0> (release-notes, web)
- <https://github.com/plotly/dash/commit/9920073c9a8619ae8f90fcec1924f2f3a4332a8c> (fix, patch, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-21485> (advisory)
- <https://github.com/advisories/GHSA-547x-748v-vp6p> (advisory)
- <https://github.com/plotly/dash> (package)
- <https://github.com/pypa/advisory-database/tree/main/vulns/dash-core-components/PYSEC-2026-219.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/dash-html-components/PYSEC-2026-220.yaml> (web)
- <https://github.com/pypa/advisory-database/tree/main/vulns/dash/PYSEC-2024-35.yaml> (web)

## Sources

- CVE List: [CVE-2024-21485](https://www.cve.org/CVERecord?id=CVE-2024-21485), CVE Terms of Use, modified 2025-05-15
- GitHub Advisory Database: [GHSA-547x-748v-vp6p](https://github.com/advisories/GHSA-547x-748v-vp6p), CC-BY-4.0, modified 2026-07-20
- NVD: [CVE-2024-21485](https://nvd.nist.gov/vuln/detail/CVE-2024-21485), Public domain, modified 2026-06-17
- PyPA Advisory Database: [PYSEC-2024-35](https://osv.dev/vulnerability/PYSEC-2024-35), CC-BY-4.0, modified 2026-06-23
- PyPA Advisory Database: [PYSEC-2026-219](https://osv.dev/vulnerability/PYSEC-2026-219), CC-BY-4.0, modified 2026-06-24
- PyPA Advisory Database: [PYSEC-2026-220](https://osv.dev/vulnerability/PYSEC-2026-220), CC-BY-4.0, modified 2026-06-24

---

Page: https://cve.day/CVE-2024-21485 · Whole record: https://cve.day/CVE-2024-21485.json · Rebuilt by cve.day 2026-11-25T22:58:36.515Z
