VYPR
Moderate severityNVD Advisory· Published Aug 9, 2021· Updated Aug 3, 2024

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

CVE-2021-32797

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
jupyterlabPyPI
< 1.2.211.2.21
jupyterlabPyPI
>= 2.0.0a0, < 2.2.102.2.10
jupyterlabPyPI
>= 2.3.0a0, < 2.3.22.3.2
jupyterlabPyPI
>= 3.0.0a0, < 3.0.173.0.17
jupyterlabPyPI
>= 3.1.0a0, < 3.1.43.1.4
notebookPyPI
< 5.7.115.7.11
notebookPyPI
>= 6.0.0, < 6.4.16.4.1

Affected products

6

Patches

Vulnerability mechanics

References

6

News mentions

0

No linked articles in our index yet.