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.
Published: 2026-08-12
Score: 7.5 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

JupyterLab's ImageViewer component can be tricked into executing arbitrary JavaScript by loading a specially crafted SVG image. The flaw occurs when URL.createObjectURL is used and the blob URL is revoked too early, letting the image retain an executable same‑origin context. When the image is opened and then redirected to a new browser tab, the embedded script runs with the privileges of the JupyterLab server, allowing remote code execution. The vulnerability is a classic cross‑site scripting flaw classified as CWE‑79.

Affected Systems

The issue affects JupyterLab releases prior to 4.5.10 and 4.6.2. Any installation using those versions is vulnerable when the image viewer is used to open malicious SVG files. The vulnerability was identified in the repository and has been fixed in newer releases.

Risk and Exploitability

The likely attack vector requires an attacker to supply a malicious SVG file that the victim opens in the image viewer and then opens in a new tab. The exploitation condition therefore depends on user interaction or compromised image files. The CVSS score of 7.5 indicates a high severity, and although no EPSS score is available, the lack of listing in CISA KEV suggests the issue has not yet been widely exploited. Nevertheless, the possibility of remote code execution warrants immediate mitigation.

Generated by OpenCVE AI on August 12, 2026 at 23:12 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade JupyterLab to version 4.5.10 or later, including 4.6.2 and newer releases that contain the fix.
  • Verify that the image viewer no longer allows SVG files to be opened in a separate tab by testing with a known malicious SVG.
  • If an upgrade cannot be performed immediately, restrict or disable the image viewer's ability to open SVG files from untrusted sources and restrict file uploads to safe image types.

Generated by OpenCVE AI on August 12, 2026 at 23:12 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-gx64-gj6p-pc4c JupyterLab: Image viewer allows XSS when opening malicious image in new browser tab
History

Wed, 12 Aug 2026 21:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Wed, 12 Aug 2026 20:15:00 +0000

Type Values Removed Values Added
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.
Title jupyterlab: Image viewer in JupyterLab allows XSS when opening malicious image in new browser tab
Weaknesses CWE-79
References
Metrics cvssV4_0

{'score': 7.5, 'vector': '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'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-12T20:54:14.775Z

Reserved: 2026-08-12T14:32:11.795Z

Link: CVE-2026-73415

cve-icon Vulnrichment

Updated: 2026-08-12T20:35:39.545Z

cve-icon NVD

Status : Received

Published: 2026-08-12T20:17:56.660

Modified: 2026-08-12T21:17:40.770

Link: CVE-2026-73415

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-12T23:15:03Z

Weaknesses
  • CWE-79

    Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')