Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
📦 npm🐍 PyPI

CVE-2024-21485

MEDIUM

CVE-2024-21485 is a medium-severity (CVSS 6.5) Cross-site Scripting (XSS) vulnerability in dash-core-components. 6 public exploit references exist, so weaponization risk is real. O3 Security confirms whether CVE-2024-21485 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Dash apps vulnerable to Cross-site Scripting

Also known asGHSA-547x-748v-vp6pPYSEC-2024-35PYSEC-2026-219PYSEC-2026-220
Published
Feb 2, 2024
Updated
Jul 15, 2026
Affected
5 pkgs
Patched
5 / 5
Exploits
6 known

Blast Radius

5 pkgs affected
📦dash-core-components📦dash-html-components🐍dash-html-components🐍dash-core-components🐍dash

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects npm, PyPI packages — download data is not available via public APIs for these ecosystems.

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 Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
📦npmdash-core-componentsall versions2.13.0
📦npmdash-html-componentsall versions2.0.16
🐍PyPIdash-html-componentsall versions2.0.0
🐍PyPIdash-core-componentsall versions2.0.0
🐍PyPIdashall versions2.15.0
Exploits & PoCs
6

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for dash-core-components. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update dash-core-components to 2.13.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2024-21485 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2024-21485 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2024-21485. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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 al
O3 Security · Impact-Aware SCA

Is CVE-2024-21485 in your dependencies?

O3 detects CVE-2024-21485 across npm, PyPI dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.