Paper/Archive/CVE-2021-32797

CVE-2021-32797

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

Description · from the CVE record

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.

Affected

ProductAffectedFixed inSource
jupyterlab>= 3.1.0, < 3.1.4–CNA
jupyterlab>= 3.0.0, < 3.0.17–CNA
jupyterlab>= 2.3.0, < 2.3.2–CNA
jupyterlab>= 2.0.0, < 2.2.10–CNA
jupyterlab< 1.2.1–CNA

Scores by source

NVD9.6CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
GitHub_M (CNA)7.4CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N

References

refgithub.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crxrefgithub.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed