Security mailing lists by PureSourceCode

CVE-2021-32797

CRITICAL 9.6CVSS 3.1

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

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.

Published
9 Aug 2021
Last modified
8 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Modified
Weakness
CWE-75CWE-79CWE-87
Also known as
BIT-jupyterlab-2021-32797GHSA-4952-p58q-6crxPYSEC-2021-130PYSEC-2026-688
Sources
NVDJSONOSV GHSA-4952-p58q-6crxJSONOSV PYSEC-2021-130JSONOSV PYSEC-2026-688JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
OSV PyPA CVSS 4.0 CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N
NVD nvd@nist.gov (Primary) CVSS 3.1 CRITICAL 9.6 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
OSV PyPA CVSS 3.1 HIGH 7.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jupyter jupyterlab
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
< 1.2.21 1.2.21
NVD jupyter jupyterlab
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
>= 2.0.0, < 2.2.10 2.2.10
NVD jupyter jupyterlab
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
>= 2.3.0, < 2.3.2 2.3.2
NVD jupyter jupyterlab
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.17 3.0.17
NVD jupyter jupyterlab
cpe:2.3:a:jupyter:jupyterlab:*:*:*:*:*:*:*:*
>= 3.1.0, < 3.1.4 3.1.4
OSV PyPI jupyterlab < 1.2.21 1.2.21
OSV PyPI jupyterlab >= 2.0.0a0, < 2.2.10 2.2.10
OSV PyPI jupyterlab >= 2.3.0a0, < 2.3.2 2.3.2
OSV PyPI jupyterlab >= 3.0.0a0, < 3.0.17 3.0.17
OSV PyPI jupyterlab >= 3.1.0a0, < 3.1.4 3.1.4
OSV PyPI notebook < 5.7.11 5.7.11
OSV PyPI notebook >= 6.0.0, < 6.4.1 6.4.1
OSV PyPI jupyterlab < 1.2.21; >= 2, < 2.2.10; >= 2.3, < 2.3.2; >= 3, < 3.0.17; >= 3.1, < 3.1.4 1.2.21, 2.2.10, 2.3.2, 3.0.17, 3.1.4
OSV PyPI notebook < 5.7.11; >= 6.0.0, < 6.4.1 5.7.11, 6.4.1

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 9 Aug 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 2 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 9 Aug 2021)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 23 Aug 2021)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.