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.
References (2)
Core 2
Core References
Third Party Advisory x_refsource_confirm
https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
Exploit, Third Party Advisory x_refsource_misc
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed
Scores
CVSS v3
7.4
EPSS
0.0087
EPSS Percentile
75.3%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
Details
CWE
CWE-79
Status
published
Products (3)
jupyter/jupyterlab
< 1.2.21
pypi/jupyterlab
0 - 1.2.21PyPI
pypi/notebook
0 - 5.7.11PyPI
Published
Aug 09, 2021
Tracked Since
Feb 18, 2026