{"schemaVersion":3,"id":"CVE-2021-32797","aliases":["MGASA-2023-0060","openSUSE-SU-2022:10075-1","GHSA-4952-p58q-6crx","BIT-jupyterlab-2021-32797","PYSEC-2021-130","PYSEC-2026-688"],"status":"published","duplicateOf":null,"title":null,"description":"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.","dates":{"published":"2021-08-09T20:45:10.000Z","modified":"2024-08-03T23:33:56.163Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.6,"severity":"critical","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Pypi","score":6.3,"severity":"medium","vector":"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","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Pypi","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":7.2,"impact":6.7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":9.6,"severity":"critical","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.0266,"percentile":0.85481,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.0266},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0266,"percentile":0.85481}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.0266,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.0266,"percentile":0.85481}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_JUPYTERLAB_JUPYTERLAB","name":"Jupyterlab","source":"github","url":"https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')","description":"The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/79.html"}],"affected":[{"vendor":"jupyter","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.2.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.2.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.0, < 3.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.2.21 | ≥ 2.0.0, < 2.2.10 | ≥ 2.3.0, < 2.3.2 | ≥ 3.0.0, < 3.0.17 | ≥ 3.1.0, < 3.1.4","eol":null,"hubHref":"/vendor/jupyter/jupyterlab"},{"vendor":"jupyterlab","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 3.1.0, < 3.1.4","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0, < 3.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0, < 2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0, < 2.2.10","noFixRecorded":false,"fixedIn":null},{"text":"< 1.2.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 3.1.0, < 3.1.4 | ≥ 3.0.0, < 3.0.17 | ≥ 2.3.0, < 2.3.2 | ≥ 2.0.0, < 2.2.10 | < 1.2.1","eol":null,"hubHref":"/vendor/jupyterlab/jupyterlab"},{"vendor":"mageia","product":"jupyter-jupyterlab-server","name":"jupyter-jupyterlab-server","label":"jupyter-jupyterlab-server","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/jupyter-jupyterlab-server","purlType":"rpm","versions":[{"text":"< 1.1.5-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.1.5-1.mga8","eol":null,"hubHref":null},{"vendor":"mageia","product":"python-jupyterlab","name":"python-jupyterlab","label":"python-jupyterlab","ecosystem":"Mageia","cpePart":null,"purl":"pkg:rpm/mageia/python-jupyterlab","purlType":"rpm","versions":[{"text":"< 2.2.10-1.mga8","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.10-1.mga8","eol":null,"hubHref":null},{"vendor":"PyPI","product":"jupyterlab","name":"jupyterlab","label":"jupyterlab","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/jupyterlab","purlType":"pypi","versions":[{"text":"< 1.2.21","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.0.0a0, < 2.2.10","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.3.0a0, < 2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.0.0a0, < 3.0.17","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.0a0, < 3.1.4","noFixRecorded":false,"fixedIn":null},{"text":"< 504825938c0abfa2fb8ff8d529308830a5ae42ed","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1, < 3.1.4","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 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 | < 504825938c0abfa2fb8ff8d529308830a5ae42ed | ≥ 3.1, < 3.1.4","eol":null,"hubHref":null},{"vendor":"PyPI","product":"notebook","name":"notebook","label":"notebook","ecosystem":"PyPI","cpePart":null,"purl":"pkg:pypi/notebook","purlType":"pypi","versions":[{"text":"< 5.7.11","noFixRecorded":false,"fixedIn":null},{"text":"≥ 6.0.0, < 6.4.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 5.7.11 | ≥ 6.0.0, < 6.4.1","eol":null,"hubHref":null},{"vendor":"opensuse","product":"python-jupyterlab&distro=openSUSE Leap 15.4","name":"python-jupyterlab","label":"python-jupyterlab&distro=openSUSE Leap 15.4","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/python-jupyterlab&distro=openSUSE Leap 15.4","purlType":"rpm","versions":[{"text":"< 2.2.10-bp154.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.10-bp154.2.3.1","eol":null,"hubHref":null},{"vendor":"suse","product":"python-jupyterlab&distro=SUSE Package Hub 15 SP4","name":"python-jupyterlab","label":"python-jupyterlab&distro=SUSE Package Hub 15 SP4","ecosystem":"SUSE Linux Enterprise","cpePart":null,"purl":"pkg:rpm/suse/python-jupyterlab&distro=SUSE Package Hub 15 SP4","purlType":"rpm","versions":[{"text":"< 2.2.10-bp154.2.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.2.10-bp154.2.3.1","eol":null,"hubHref":null}],"affectedCount":8,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx","label":"github.com/jupyterlab/jupyterlab/security/advisories/GHSA-4952-p58q-6crx","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory","Third Party Advisory"]},{"url":"https://github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed","label":"github.com/jupyterlab/jupyterlab/commit/504825938c0abfa2fb8ff8d529308830a5ae42ed","hostname":"github.com","tags":["X Refsource MISC","WEB","FIX","Exploit","Third Party Advisory"]},{"url":"https://advisories.mageia.org/MGASA-2023-0060.html","label":"advisories.mageia.org/MGASA-2023-0060.html","hostname":"advisories.mageia.org","tags":["Advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=30699","label":"bugs.mageia.org/show_bug.cgi?id=30699","hostname":"bugs.mageia.org","tags":["REPORT"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/VZGF2ZZFSQOBN7NRPXC3MMQXPLYLS2IH/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["WEB","Advisory"]},{"url":"https://bugzilla.suse.com/1196663","label":"bugzilla.suse.com/1196663","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-32797","label":"www.suse.com/security/cve/CVE-2021-32797","hostname":"www.suse.com","tags":["WEB"]},{"url":"https://github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx","label":"github.com/google/security-research/security/advisories/GHSA-c469-p3jp-2vhx","hostname":"github.com","tags":["WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-32797","label":"nvd.nist.gov/vuln/detail/CVE-2021-32797","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml","label":"github.com/pypa/advisory-database/tree/main/vulns/jupyterlab/PYSEC-2021-130.yaml","hostname":"github.com","tags":["WEB"]},{"url":"https://pypi.org/project/notebook","label":"pypi.org/project/notebook","hostname":"pypi.org","tags":["PACKAGE"]},{"url":"https://github.com/advisories/GHSA-4952-p58q-6crx","label":"github.com/advisories/GHSA-4952-p58q-6crx","hostname":"github.com","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-08-09T20:45:10.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T23:33:56.163Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-20T13:07:29.955Z","stale":false,"partial":false}}