github.com
https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx CVE-2021-32797
JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>
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.
Description source: CVE List
Affected products and versions
3| Product | Source | Version range | Status |
|---|---|---|---|
jupyterlabBrowse jupyterlab / jupyterlab | CVE List | >= 3.1.0, < 3.1.4 | affected |
| >= 3.0.0, < 3.0.17 | affected | ||
| >= 2.3.0, < 2.3.2 | affected | ||
| >= 2.0.0, < 2.2.10 | affected | ||
| < 1.2.1 | affected | ||
jupyterlabBrowse PyPI / jupyterlab | GitHub Advisory | Before 1.2.21 · Fixed in 1.2.21 | affected |
| 2.0.0a0 to < 2.2.10 · Fixed in 2.2.10 | affected | ||
| 2.3.0a0 to < 2.3.2 · Fixed in 2.3.2 | affected | ||
| 3.0.0a0 to < 3.0.17 · Fixed in 3.0.17 | affected | ||
| 3.1.0a0 to < 3.1.4 · Fixed in 3.1.4 | affected | ||
notebookBrowse PyPI / notebook | GitHub Advisory | Before 5.7.11 · Fixed in 5.7.11 | affected |
| 6.0.0 to < 6.4.1 · Fixed in 6.4.1 | affected |
References
5github.com
https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed github.comConfirmation
https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx github.com
https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml nvd.nist.gov
https://nvd.nist.gov/vuln/detail/CVE-2021-32797