CVE-2026-42557: jupyter jupyterlab Cross-site Scripting
Vulnerability summary
CVE-2026-42557 is a critical (CVSS 9.6) Cross-site Scripting vulnerability in jupyter jupyterlab. EPSS estimates a 0.71% chance of exploitation in the next 30 days, higher than 52.8% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 2 · Related 3Timeline
- 13-05-2026PublishedVulnerability first disclosed.
- 28-08-2026Last modifiedVulnerability information updated.
Description
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.7, JupyterLab's HTML sanitizer allowlists data-commandlinker-command and data-commandlinker-args on button elements, while CommandLinker listens for all click events on document.body and executes the named command without checking whether the element came from trusted JupyterLab UI. A notebook with a pre-saved HTML cell output containing a deceptive button can trigger arbitrary JupyterLab commands - including arbitrary code execution - on a single user click, without any code being submitted for execution by the user. This vulnerability is fixed in 4.5.7.
CVSS metrics
10 scores · 6 sources · 2 versions- OSV · PypiEcosystem advisory · calculated8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · UbuntuEcosystem advisory · calculated8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- OSV · ChainguardEcosystem advisory · calculated8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
- NVDNIST8.6HighCVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
- CVE.orgCNA8.8HighCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · PypiEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.6CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
EPSS trend
Probability
0.71%
Chance of exploitation in the next 30 days
Percentile
53%
Versus all other CVEs
30-day change
+0.34 pp
From 0.37% on 19-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Jupyter2 products
- jupyterlab< 4.5.7
- notebook≥ 7.0.0, < 7.5.6
PyPI2 products
- jupyterlab< 4.5.7
- notebook≥ 7.0.0, < 7.5.6
Chainguard1 product
- datahub-ingestion-fips< 1.5.0.1-r2
Debian1 product
- jupyterlabAll versions (No fix recorded) | < 4.4.10+ds1+~3.1.0+~0.16.6+~cs1.4.4-3
Jupyterlab1 product
- jupyterlab< 4.5.7
Ubuntu1 product
- jupyterlabAll versions (No fix recorded)
6 vendors · 8 products
References
16 links- github.com/jupyterlab/jupyterlab/security/advisories/GHSA-mqcg-5x36-vfcgX Refsource CONFIRMWEBREPORTAdvisoryMitigationVendor Advisory
- pypi.org/project/jupyterlabPACKAGE
Show all 16 references
- pypi.org/project/notebookPACKAGE