7.5high
jupyterlab: Image viewer in JupyterLab allows XSS when opening malicious image in new browser tab
- Severity
- 7.5high CVSS:4.0 by GitHub_M
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-gx64-gj6p-pc4cBIT-JUPYTERLAB-2026-73415PYSEC-2026-3671
Description
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.10 and 4.6.2, in packages/imageviewer/src/widget.ts, JupyterLab's ImageViewer uses URL.createObjectURL for a specially crafted SVG image and revokes the blob URL too early, allowing the image to retain an executable same-origin context when it is opened through the image viewer and then opened in a new browser tab. The resulting cross-site scripting can be used to execute arbitrary code on the JupyterLab server. This issue is fixed in versions 4.5.10 and 4.6.2.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| jupyterlab jupyterlab | < 4.5.10, >= 4.6.0, < 4.6.2 | CVE List |
| jupyterlab (PyPI) | from 4.6.0 before 4.6.2, before 4.5.10 | GitHub Advisory Database, PyPA Advisory Database |
| jupyterlab (Bitnami) | before 4.5.10, from 4.6.0 before 4.6.2 | Bitnami Vulnerability Database |
All scores
| GitHub_M | 7.5high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| GitHub | high CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| PyPA Advisory Database | Not scored CVSS:4.0 | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:A/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N |
| Bitnami Vulnerability Database | high rating |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
jupyterlab is an extensible environment for interactive and reproducible computing, based on the Jupyter Notebook Architecture. Prior to 4.5.10 and 4.6.2, in packages/imageviewer/src/widget.ts, JupyterLab's ImageViewer uses URL.createObjectURL for a specially crafted SVG image and revokes the blob URL too early, allowing the image to retain an executable same-origin context when it is opened through the image viewer and then opened in a new browser tab. The resulting cross-site scripting can be used to execute arbitrary code on the JupyterLab server. This issue is fixed in versions 4.5.10 and 4.6.2.
GitHub Advisory Database
JupyterLab's image viewer allows for cross-site scripting (XSS) when a specially-crafted image file is opened through the image viewer and then opened in a new tab. This XSS issue can be used to cause remote code execution (RCE) on the JupyterLab server.
Impact
This vulnerability allows for arbitrary code execution.
Patches
JupyterLab v4.6.2 and v4.5.10 contain the patch.
Workarounds
Disable the image viewer plugin:
jupyter labextension disable @jupyterlab/imageviewer-extension:plugin
Confirm with:
jupyter labextension list
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-73415 changed 2026-08-12 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-gx64-gj6p-pc4c changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2026-73415 changed 2026-09-09 | Public domain |
| PyPA Advisory Database | PYSEC-2026-3671 changed 2026-08-19 | CC-BY-4.0 |
| Bitnami Vulnerability Database | BIT-JUPYTERLAB-2026-73415 changed 2026-08-19 | Apache-2.0 |