Skip to content
OpenAdvisories
Medium · 6.5 Scanner template CVE-2024-21485 EUVD-2024-0032GHSA-547x-748v-vp6pPYSEC-2024-35PYSEC-2026-219PYSEC-2026-220

Dash apps vulnerable to Cross-site Scripting

Published Feb 2, 2024 · Updated May 15, 2025 · 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.

Affected products

VendorProductAffectedFixed
— dash-core-components < 2.13.0, < 2.0.0 2.13.0
— dash < 2.15.0 2.15.0
— dash-html-components < 2.0.0, < 2.0.16 2.0.0

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Affected packages

EcosystemPackageAffectedFixedRecord
npm dash-core-components < 2.13.0 2.13.0 GHSA-547x-748v-vp6p
npm dash-html-components < 2.0.16 2.0.16 GHSA-547x-748v-vp6p
PyPI dash < 2.15.0 2.15.0 GHSA-547x-748v-vp6p
PyPI dash < 2.13.0 · >= 2.14.0, < 2.15.0 2.13.0, 2.15.0 PYSEC-2024-35
PyPI dash-core-components < 2.0.0 2.0.0 GHSA-547x-748v-vp6p
PyPI dash-html-components < 2.0.0 2.0.0 GHSA-547x-748v-vp6p

References