CVE-2026-73415

jupyterlab: Image viewer in JupyterLab allows XSS when opening malicious image in new browser tab

Published Aug 12, 2026 CVSS 4.0 · 7.5 High EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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

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

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

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'}

Weaknesses
  • CWE-79

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

  • CWE-911

    Improper Update of Reference Count

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 12, 2026, 8:54 PM
Reserved
Aug 12, 2026, 2:32 PM
Status
Awaiting Analysis
Published
Aug 12, 2026, 8:17 PM
Modified
Sep 9, 2026, 8:58 PM
Severity
Important
Public date
Aug 12, 2026, 7:54 PM