Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2021-32797

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

CVE-2021-32797

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

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

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
7.4
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
C
H
U
9.6
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H

Related Resources

No items found.

References

https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx, https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx, https://nvd.nist.gov/vuln/detail/CVE-2021-32797, https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed, https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml, https://pypi.org/project/notebook, https://github.com/advisories/GHSA-4952-p58q-6crx

Severity

9.6

CVSS Score
0
10

Basic Information

Base CVSS
9.6
EPSS Probability
0.02638%
EPSS Percentile
0.8374%
Introduced Version
6.0.0,0.35.0rc0,2.0.0a0,2.3.0a0,3.0.0a0,3.1.0a0
Fix Available
6.4.1,1.2.21,2.2.10,2.3.2,3.0.17,3.1.4

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading