For your digest
jupyterlab, notebook: JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
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
- jupyterlab (PyPI): every version, before 1.2.21
- jupyterlab (PyPI): from 2.0.0a0, before 2.2.10
- jupyterlab (PyPI): from 2.3.0a0, before 2.3.2
- jupyterlab (PyPI): from 3.0.0a0, before 3.0.17
- jupyterlab (PyPI): from 3.1.0a0, before 3.1.4
- notebook (PyPI): every version, before 5.7.11
- notebook (PyPI): from 6.0.0, before 6.4.1
- jupyterlab (PyPI): every version, before 1.2.21; from 2, before 2.2.10; from 2.3, before 2.3.2; from 3, before 3.0.17; from 3.1, before 3.1.4
- notebook (PyPI): every version, before 5.7.11; from 6.0.0, before 6.4.1
The fix
jupyterlab (PyPI) fixed in 1.2.21
pippython -m pip install jupyterlab==1.2.21uvuv add jupyterlab==1.2.21poetrypoetry add jupyterlab@1.2.21Check what is installedpython -m pip show jupyterlabPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency jupyterlab to 1.2.21 or the nearest later release, to fix CVE-2021-32797. 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.jupyterlab (PyPI) fixed in 2.2.10
pippython -m pip install jupyterlab==2.2.10uvuv add jupyterlab==2.2.10poetrypoetry add jupyterlab@2.2.10Check what is installedpython -m pip show jupyterlabPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency jupyterlab to 2.2.10 or the nearest later release, to fix CVE-2021-32797. 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.jupyterlab (PyPI) fixed in 2.3.2
pippython -m pip install jupyterlab==2.3.2uvuv add jupyterlab==2.3.2poetrypoetry add jupyterlab@2.3.2Check what is installedpython -m pip show jupyterlabPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency jupyterlab to 2.3.2 or the nearest later release, to fix CVE-2021-32797. 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.jupyterlab (PyPI) fixed in 3.0.17
pippython -m pip install jupyterlab==3.0.17uvuv add jupyterlab==3.0.17poetrypoetry add jupyterlab@3.0.17Check what is installedpython -m pip show jupyterlabPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency jupyterlab to 3.0.17 or the nearest later release, to fix CVE-2021-32797. 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.jupyterlab (PyPI) fixed in 3.1.4
pippython -m pip install jupyterlab==3.1.4uvuv add jupyterlab==3.1.4poetrypoetry add jupyterlab@3.1.4Check what is installedpython -m pip show jupyterlabPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency jupyterlab to 3.1.4 or the nearest later release, to fix CVE-2021-32797. 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.notebook (PyPI) fixed in 5.7.11
pippython -m pip install notebook==5.7.11uvuv add notebook==5.7.11poetrypoetry add notebook@5.7.11Check what is installedpython -m pip show notebookPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency notebook to 5.7.11 or the nearest later release, to fix CVE-2021-32797. 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.notebook (PyPI) fixed in 6.4.1
pippython -m pip install notebook==6.4.1uvuv add notebook==6.4.1poetrypoetry add notebook@6.4.1Check what is installedpython -m pip show notebookPaste into Cursor, Lovable or Claude CodeUpgrade the PyPI dependency notebook to 6.4.1 or the nearest later release, to fix CVE-2021-32797. 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
- First published here, as "For your digest".