Skip to content

JupyterLab: XSS due to lack of sanitization of the action attribute of an HTML form

High
Carreau published GHSA-4952-p58q-6crx Aug 9, 2021

Package

pip jupyterlab (pip)

Affected versions

all published version at the time the CVE was received.

Patched versions

3.1.4, 3.0.17, 2.3.2, 2.2.10, 1.2.21

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 security@ipython.org.

Credit: Guillaume Jeanne from Google

[EDIT April 2cd, 2022] "Affected version: all" was updated to "all published version at the time the CVE was received." for clarification.

Severity

High

CVE ID

CVE-2021-32797

Credits