PYSEC-2021-130
Dashboard / Vulnerabilities / PYSEC-2021-130
PYSEC-2021-130
Published: 9 Aug 2021Last Modified: 6 Jul 2026
Summary:
Details: 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: https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed, https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx
Affected packages
Package
Name: jupyterlab
Purl: pkg:pypi/jupyterlab
Affected ranges
Affected versions
0.0.1
0.0.10
0.0.13
0.0.2
0.0.3
0.0.4
0.0.5
0.0.6
0.0.7
0.0.8
0.0.9
Common Vulnerability Scoring System
Attack Vector
Network
Adjacent
Local
Physical
Privileges Required
None
Low
High
User Interaction
None
Required
Scope
Unchanged
Changed
Confidentiality
None
Low
High
Integrity
None
Low
High
Availability
None
Low
High
