---
id: CVE-2024-21485
aliases:
  - GHSA-547x-748v-vp6p
  - PYSEC-2024-35
  - PYSEC-2026-219
  - PYSEC-2026-220
title: Dash apps vulnerable to Cross-site Scripting
summary: Dash apps vulnerable to Cross-site Scripting
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N'
vendor: dash-core-components
product: dash-core-components
ecosystem: npm
affected:
  - dash-core-components < 2.13.0
  - dash-html-components < 2.0.0
  - dash-core-components < 2.0.0
  - dash < 2.15.0
  - dash-html-components < 2.0.16
patched:
  - dash-core-components 2.13.0
  - dash-html-components 2.0.0
  - dash-core-components 2.0.0
  - dash 2.15.0
  - dash-html-components 2.0.16
published: '2024-02-02'
updated: '2026-07-20'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-547x-748v-vp6p'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2024-21485'
  - url: 'https://github.com/plotly/dash/issues/2729'
  - url: 'https://github.com/plotly/dash/pull/2732'
  - url: >-
      https://github.com/plotly/dash/commit/9920073c9a8619ae8f90fcec1924f2f3a4332a8c
  - url: 'https://github.com/advisories/GHSA-547x-748v-vp6p'
  - url: 'https://github.com/plotly/dash'
  - url: 'https://github.com/plotly/dash/releases/tag/v2.15.0'
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/dash-core-components/PYSEC-2026-219.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/dash-html-components/PYSEC-2026-220.yaml
  - url: >-
      https://github.com/pypa/advisory-database/tree/main/vulns/dash/PYSEC-2024-35.yaml
  - url: 'https://security.snyk.io/vuln/SNYK-JS-DASHCORECOMPONENTS-6183084'
  - url: 'https://security.snyk.io/vuln/SNYK-JS-DASHHTMLCOMPONENTS-6226337'
  - url: 'https://security.snyk.io/vuln/SNYK-PYTHON-DASH-6226335'
  - url: 'https://security.snyk.io/vuln/SNYK-PYTHON-DASHCORECOMPONENTS-6226334'
  - url: 'https://security.snyk.io/vuln/SNYK-PYTHON-DASHHTMLCOMPONENTS-6226336'
tags:
  - osv
  - npm
  - exploit-available
epss: 0.01487
epssPercentile: 0.72962
ingestedAt: '2026-07-20T19:04:14.144Z'
exploits:
  nuclei:
    - CVE-2024-21485
  checkedAt: '2026-09-26T09:05:30.838Z'
exploitAvailable: true
---

## Overview

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 packages

- `dash-core-components < 2.13.0`
- `dash-html-components < 2.0.0`
- `dash-core-components < 2.0.0`
- `dash < 2.15.0`
- `dash-html-components < 2.0.16`

## Remediation

Upgrade to a patched release:

- `dash-core-components 2.13.0`
- `dash-html-components 2.0.0`
- `dash-core-components 2.0.0`
- `dash 2.15.0`
- `dash-html-components 2.0.16`
