Description
JupyterLab is a user interface for Project Jupyter which will eventually replace the classic Jupyter Notebook. In affected versions untrusted notebook can execute code on load. In particular JupyterLab doesn’t sanitize the action attribute of html `<form>`. Using this it is possible to trigger the form validation outside of the form itself. This is a remote code execution, but requires user action to open a notebook.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| jupyterlab | jupyterlab | >= 3.1.0, < 3.1.4, >= 3.0.0, < 3.0.17, >= 2.3.0, < 2.3.2, >= 2.0.0, < 2.2.10, < 1.2.1 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP4 | python-jupyterlab | 2.2.10-bp154.2.3.1 | openSUSE-SU-2022:10075-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.4 | python-jupyterlab | 2.2.10-bp154.2.3.1 | openSUSE-SU-2022:10075-1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| PyPI | jupyterlab | < 1.2.21 | 1.2.21 | GHSA-4952-p58q-6crx |
| PyPI | jupyterlab | >= 2.0.0a0, < 2.2.10 | 2.2.10 | GHSA-4952-p58q-6crx |
| PyPI | jupyterlab | >= 2.3.0a0, < 2.3.2 | 2.3.2 | GHSA-4952-p58q-6crx |
| PyPI | jupyterlab | >= 3.0.0a0, < 3.0.17 | 3.0.17 | GHSA-4952-p58q-6crx |
| PyPI | jupyterlab | >= 3.1.0a0, < 3.1.4 | 3.1.4 | GHSA-4952-p58q-6crx |
| PyPI | jupyterlab | < 1.2.21 · >= 2, < 2.2.10 · >= 2.3, < 2.3.2 · >= 3, < 3.0.17 · >= 3.1, < 3.1.4 | 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4 | PYSEC-2021-130 |
| PyPI | notebook | < 5.7.11 | 5.7.11 | GHSA-4952-p58q-6crx |
| PyPI | notebook | >= 6.0.0, < 6.4.1 | 6.4.1 | GHSA-4952-p58q-6crx |
| PyPI | notebook | < 5.7.11 · >= 6.0.0, < 6.4.1 | 5.7.11, 6.4.1 | PYSEC-2026-688 |
Advisories 1
- openSUSE-SU-2022:10075-1 Security update for python-jupyterlab SUSE / openSUSE Security Updates · Feb 4, 2026