Advisories
This weekExploitable · Confirmed

dash-core-components, dash-html-components: Dash apps vulnerable to Cross-site Scripting

There is evidence it can be used, or an emergency alert, without the proof that makes it urgent.

Does it affect what I run?

Checked in your browser. The version you type is not sent anywhere.

Who is affected

  • dash-core-components (npm): every version, before 2.13.0
  • dash-html-components (PyPI): every version, before 2.0.0
  • dash-core-components (PyPI): every version, before 2.0.0
  • dash (PyPI): every version, before 2.15.0
  • dash-html-components (npm): every version, before 2.0.16
  • dash (PyPI): every version, before 2.13.0; from 2.14.0, before 2.15.0
  • dash-core-components (PyPI): every version, before 2.0.0
  • dash-html-components (PyPI): every version, before 2.0.0

The fix

  • dash-core-components (npm) fixed in 2.13.0

    npm
    npm install dash-core-components@2.13.0
    pnpm
    pnpm add dash-core-components@2.13.0
    yarn
    yarn add dash-core-components@2.13.0
    bun
    bun add dash-core-components@2.13.0
    Check what is installed
    npm ls dash-core-components
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency dash-core-components to 2.13.0 or the nearest later release, to fix CVE-2024-21485. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • dash-html-components (PyPI) fixed in 2.0.0

    pip
    python -m pip install dash-html-components==2.0.0
    uv
    uv add dash-html-components==2.0.0
    poetry
    poetry add dash-html-components@2.0.0
    Check what is installed
    python -m pip show dash-html-components
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency dash-html-components to 2.0.0 or the nearest later release, to fix CVE-2024-21485. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • dash-core-components (PyPI) fixed in 2.0.0

    pip
    python -m pip install dash-core-components==2.0.0
    uv
    uv add dash-core-components==2.0.0
    poetry
    poetry add dash-core-components@2.0.0
    Check what is installed
    python -m pip show dash-core-components
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency dash-core-components to 2.0.0 or the nearest later release, to fix CVE-2024-21485. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • dash (PyPI) fixed in 2.15.0

    pip
    python -m pip install dash==2.15.0
    uv
    uv add dash==2.15.0
    poetry
    poetry add dash@2.15.0
    Check what is installed
    python -m pip show dash
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency dash to 2.15.0 or the nearest later release, to fix CVE-2024-21485. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • dash (PyPI) fixed in 2.13.0

    pip
    python -m pip install dash==2.13.0
    uv
    uv add dash==2.13.0
    poetry
    poetry add dash@2.13.0
    Check what is installed
    python -m pip show dash
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency dash to 2.13.0 or the nearest later release, to fix CVE-2024-21485. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
  • dash-html-components (npm) fixed in 2.0.16

    npm
    npm install dash-html-components@2.0.16
    pnpm
    pnpm add dash-html-components@2.0.16
    yarn
    yarn add dash-html-components@2.0.16
    bun
    bun add dash-html-components@2.0.16
    Check what is installed
    npm ls dash-html-components
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency dash-html-components to 2.0.16 or the nearest later release, to fix CVE-2024-21485. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.

Fix commands generated from the advisory's versions. No model wrote them.

In plain words

Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.

Evidence

Timeline

  1. First published here, as "For your digest".
  2. Fixed releases changed: added dash 2.13.0.
  3. Level changed from "For your digest" to "This week".
  4. Evidence added: CISA's assessment in the CVE record says a proof of concept is public. (CISA Vulnrichment (SSVC and KEV fields inside CVE records))