Skip to content

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

High severity GitHub Reviewed Published Aug 9, 2021 in jupyterlab/jupyterlab • Updated Sep 23, 2024

Package

pip jupyterlab (pip)

Affected versions

< 1.2.21
>= 2.0.0a0, < 2.2.10
>= 2.3.0a0, < 2.3.2
>= 3.0.0a0, < 3.0.17
>= 3.1.0a0, < 3.1.4

Patched versions

1.2.21
2.2.10
2.3.2
3.0.17
3.1.4
pip notebook (pip)
< 5.7.11
>= 6.0.0, < 6.4.1
5.7.11
6.4.1

Description

Impact

Untrusted notebook can execute code on load. This is a remote code execution, but requires user action to open a notebook.

Patches

Patched in the following versions: 3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21.

References

OWASP Page on Restricting Form Submissions

For more information

If you have any questions or comments about this advisory, or vulnerabilities to report, please email our security list [email protected].

Credit: Guillaume Jeanne from Google

References

@Carreau Carreau published to jupyterlab/jupyterlab Aug 9, 2021
Published by the National Vulnerability Database Aug 9, 2021
Reviewed Aug 23, 2021
Published to the GitHub Advisory Database Aug 23, 2021
Last updated Sep 23, 2024

Severity

High

EPSS score

0.374%
(73rd percentile)

CVE ID

CVE-2021-32797

GHSA ID

GHSA-4952-p58q-6crx

Source code

No known source code

Credits

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.