CVE-2021-32797

Severity CVSS v4.0:
Pending analysis
Type:
CWE-79 Cross-Site Scripting (XSS)
Publication date:
09/08/2021
Last modified:
07/04/2022

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 ``. 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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* 1.2.21 (excluding)
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* 2.0.0 (including) 2.2.10 (excluding)
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* 2.3.0 (including) 2.3.2 (excluding)
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* 3.0.0 (including) 3.0.17 (excluding)
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:* 3.1.0 (including) 3.1.4 (excluding)