CVE-2021-32797

mediumpriority · track · 39EPSS 0.027 · 86 %ileEUUS
grimoire priorityP3 · Track
Exploitable?
—
no known exploitation
Likely / severe?
2.66% (86th) EPSS
CVSS 6.8 · medium
Is it mine?
26 products
Check your exposure
Who says so?
4 sources
cnnvd · enisa_euvd · osv · nvd

EPSS · scored 2026-10-27

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.

01

cvss

Technical severity, 0–10. One row per scoring source.

9.6
010

base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · medium–critical · 6.8–9.6

v2.06.8mediumAV:N/AC:M/Au:N/C:P/I:P/A:Pprimary · NVD / NIST USexploitability 8.6 · impact 6.4
v3.19.6criticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:Hprimary · NVD / NIST USexploitability 2.8 · impact 6
v3.17.4highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:Nsecondary · ENISA EU
v3.17.4highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:Nsecondary · security-advisories@github.comexploitability 2.8 · impact 4
v3.17.4highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:Nsecondary · OSV
v3.18.8highCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H/E:Usecondary · CVSS-BT (t0sche)
02

weaknesses

The CWE weakness classes this flaw belongs to.

03

affected products (26)

Products and version ranges known to be affected.

showing 20 of 26
04

advisories (4)

Vendor and ecosystem advisories describing this.

  • GHSA-4952-p58q-6crxJupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>2021-08-23ghsa · osvUS

    ### 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](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html) ### 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

  • BIT-jupyterlab-2021-32797JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>2024-03-06vendor · osvUS

    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.

  • PYSEC-2021-1302021-08-09vendor · osvUS

    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.

  • PYSEC-2026-688JupyterLab: XSS due to lack of sanitization of the action attribute of an html <form>2026-07-02vendor · osvUS

    ### 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](https://cheatsheetseries.owasp.org/cheatsheets/Content_Security_Policy_Cheat_Sheet.html) ### 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

05

also known as (9)

Other names and identifiers for this entity.

06

sources

Which sources assert this record, and when.

published 2021-08-09modified 2026-06-17
08

references (8)

External citations — patches, advisories, analysis.

scry

Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.

Free scan