Advisories
For your digest

nbdime, nbdime-jupyterlab: Stored XSS in Jupyter nbdime

It touches something Phylax follows. No evidence of use yet.

Does it affect what I run?

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

Who is affected

  • nbdime (PyPI): every version, before 1.1.1
  • nbdime (PyPI): from 2.0.0, before 2.1.1
  • nbdime (PyPI): from 3.0.0, before 3.1.1
  • nbdime (npm): every version, before 5.0.2
  • nbdime (npm): from 6.0.0, before 6.1.2
  • nbdime-jupyterlab (npm): every version, before 1.0.1
  • nbdime-jupyterlab (npm): from 2.0.0, before 2.1.1
  • nbdime (PyPI): every version, before 1.1.1; from 2.0.0, before 2.1.1; from 3.0.0, before 3.1.1

The fix

  • nbdime (PyPI) fixed in 1.1.1

    pip
    python -m pip install nbdime==1.1.1
    uv
    uv add nbdime==1.1.1
    poetry
    poetry add nbdime@1.1.1
    Check what is installed
    python -m pip show nbdime
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency nbdime to 1.1.1 or the nearest later release, to fix CVE-2021-41134. 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.
  • nbdime (PyPI) fixed in 2.1.1

    pip
    python -m pip install nbdime==2.1.1
    uv
    uv add nbdime==2.1.1
    poetry
    poetry add nbdime@2.1.1
    Check what is installed
    python -m pip show nbdime
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency nbdime to 2.1.1 or the nearest later release, to fix CVE-2021-41134. 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.
  • nbdime (PyPI) fixed in 3.1.1

    pip
    python -m pip install nbdime==3.1.1
    uv
    uv add nbdime==3.1.1
    poetry
    poetry add nbdime@3.1.1
    Check what is installed
    python -m pip show nbdime
    Paste into Cursor, Lovable or Claude Code
    Upgrade the PyPI dependency nbdime to 3.1.1 or the nearest later release, to fix CVE-2021-41134. 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.
  • nbdime (npm) fixed in 5.0.2

    npm
    npm install nbdime@5.0.2
    pnpm
    pnpm add nbdime@5.0.2
    yarn
    yarn add nbdime@5.0.2
    bun
    bun add nbdime@5.0.2
    Check what is installed
    npm ls nbdime
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency nbdime to 5.0.2 or the nearest later release, to fix CVE-2021-41134. 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.
  • nbdime (npm) fixed in 6.1.2

    npm
    npm install nbdime@6.1.2
    pnpm
    pnpm add nbdime@6.1.2
    yarn
    yarn add nbdime@6.1.2
    bun
    bun add nbdime@6.1.2
    Check what is installed
    npm ls nbdime
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency nbdime to 6.1.2 or the nearest later release, to fix CVE-2021-41134. 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.
  • nbdime-jupyterlab (npm) fixed in 1.0.1

    npm
    npm install nbdime-jupyterlab@1.0.1
    pnpm
    pnpm add nbdime-jupyterlab@1.0.1
    yarn
    yarn add nbdime-jupyterlab@1.0.1
    bun
    bun add nbdime-jupyterlab@1.0.1
    Check what is installed
    npm ls nbdime-jupyterlab
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency nbdime-jupyterlab to 1.0.1 or the nearest later release, to fix CVE-2021-41134. 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.
  • nbdime-jupyterlab (npm) fixed in 2.1.1

    npm
    npm install nbdime-jupyterlab@2.1.1
    pnpm
    pnpm add nbdime-jupyterlab@2.1.1
    yarn
    yarn add nbdime-jupyterlab@2.1.1
    bun
    bun add nbdime-jupyterlab@2.1.1
    Check what is installed
    npm ls nbdime-jupyterlab
    Paste into Cursor, Lovable or Claude Code
    Upgrade the npm dependency nbdime-jupyterlab to 2.1.1 or the nearest later release, to fix CVE-2021-41134. 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

No evidence that it is being used, or can be. It is listed because of what it affects.

Timeline

  1. First published here, as "For your digest".