CVE-2021-32797 - CVE House
Back to Database
Status published High CVE-2021-32797

JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>

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

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2021-32797

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

jupyterlab
Vulnerable Versions:
>= 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

Timeline

Official Publish: August 9th, 2021
Last Modified: August 3rd, 2024
Added to House: July 21st, 2026

CVSS Vectors

V3: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

Weaknesses (CWE)