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: < 1% Very Low
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, allowing the image to 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, enabling remote code execution. This vulnerability is a classic cross‑site scripting flaw classified as CWE‑79 and a form of improper authorization flaw classified as CWE‑911.

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.

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 depends on user interaction or compromised image files. The vulnerability exploits both cross‑site scripting (CWE‑79) and improper authority control (CWE‑911), allowing the embedded script to run with the privileges of the JupyterLab server. The CVSS score of 7.5 indicates a high severity, and the EPSS score of 0.00574 (less than 1%) indicates a low but non‑zero likelihood of exploitation. 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 15, 2026 at 01:56 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 15, 2026 at 01:56 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

Sat, 15 Aug 2026 00:15:00 +0000

Type Values Removed Values Added
Weaknesses CWE-911
References
Metrics threat_severity

None

cvssV3_1

{'score': 8.0, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H'}

threat_severity

Important


Thu, 13 Aug 2026 10:30:00 +0000

Type Values Removed Values Added
First Time appeared Jupyter
Jupyter jupyterlab
Vendors & Products Jupyter
Jupyter jupyterlab

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

Jupyter Jupyterlab
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

Severity : Important

Publid Date: 2026-08-12T19:54:00Z

Links: CVE-2026-73415 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-15T02:00:04Z

Weaknesses
  • CWE-79

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

  • CWE-911

    Improper Update of Reference Count