CVE-2024-21485
Dash apps vulnerable to Cross-site Scripting
Description
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.
How to fix CVE-2024-21485
To remediate CVE-2024-21485, upgrade the affected package to a fixed version below.
- —upgrade to 2.13.0 or later
- —upgrade to 2.0.16 or later
- —upgrade to 2.15.0 or later
- —upgrade to 9920073c9a8619ae8f90fcec1924f2f3a4332a8c or later
- —upgrade to 2.0.0 or later
- —upgrade to 2.0.0 or later
Is CVE-2024-21485 being exploited?
Low — EPSS is 1.2%, meaning exploitation activity has not been observed at scale.
Affected packages (6)
- from 0, < 2.13.0
- from 0, < 2.0.16
- from 0, < 2.15.0
- from 0, < 9920073c9a8619ae8f90fcec1924f2f3a4332a8c | >= 2.14.0, < 2.15.0, from 0, < 2.13.0
- from 0, < 2.0.0
- from 0, < 2.0.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | 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 |
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:L/A:N |