Advisory

GHSA-547x-748v-vp6p

Also known as: CVE-2024-21485, PYSEC-2024-35, PYSEC-2026-219, PYSEC-2026-220

Summary

Dash apps vulnerable to Cross-site Scripting

Details

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.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2024-02-02 06:30 UTC
Modified
2026-07-20 13:45 UTC

Affected packages and fixes

dash-core-components

npm · All systems

Affected

  • introduced 0, fixed 2.13.0 (semver)

Fixed versions

2.13.0

Fix

dash-html-components

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

  • Fixed version 2.0.0
    pip install --upgrade dash-html-components==2.0.0

dash-core-components

PyPI · All systems

Affected

  • introduced 0, fixed 2.0.0 (ecosystem)

Fixed versions

2.0.0

Fix

  • Fixed version 2.0.0
    pip install --upgrade dash-core-components==2.0.0

dash

PyPI · All systems

Affected

  • introduced 0, fixed 2.15.0 (ecosystem)

Fixed versions

2.15.0

Fix

  • Fixed version 2.15.0
    pip install --upgrade dash==2.15.0

dash-html-components

npm · All systems

Affected

  • introduced 0, fixed 2.0.16 (semver)

Fixed versions

2.0.16

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences