<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>JupyterLab (Prior to 4.5.10) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/jupyterlab-prior-to-4.5.10/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Wed, 22 Jul 2026 23:15:38 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/jupyterlab-prior-to-4.5.10/feed.xml" rel="self" type="application/rss+xml"/><item><title>JupyterLab Image Viewer XSS Vulnerability Leading to RCE</title><link>https://feed.craftedsignal.io/briefs/2026-07-jupyterlab-image-viewer-xss/</link><pubDate>Wed, 22 Jul 2026 23:15:38 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-07-jupyterlab-image-viewer-xss/</guid><description>A cross-site scripting (XSS) vulnerability exists in JupyterLab's image viewer, allowing an attacker to achieve remote code execution (RCE) on the JupyterLab server if a specially crafted image file is opened in the image viewer and then opened in a new browser tab; affected versions include JupyterLab prior to 4.5.10 and versions from 4.6.0 up to, but not including, 4.6.2, with patches available in versions 4.5.10 and 4.6.2.</description><content:encoded><![CDATA[<p>JupyterLab, an interactive development environment, contains a cross-site scripting (XSS) vulnerability within its image viewer component. This flaw allows an attacker to achieve remote code execution (RCE) on the JupyterLab server. The vulnerability is triggered when a specially crafted malicious image file is opened via the image viewer, and subsequently, the user opens this image in a new browser tab. Successful exploitation could lead to arbitrary code execution on the server hosting JupyterLab. The affected versions include JupyterLab prior to <code>4.5.10</code> and versions <code>4.6.0</code> up to, but not including, <code>4.6.2</code>. Patches are available in versions <code>4.5.10</code> and <code>4.6.2</code>. This is a high-severity issue because it transitions an XSS to RCE, providing a significant foothold for attackers.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li><strong>Craft Malicious Image</strong>: An attacker crafts a specially designed image file containing embedded XSS payload.</li>
<li><strong>Deliver Image</strong>: The malicious image is delivered to a target user, often through social engineering or by being placed in a location accessible to the JupyterLab user.</li>
<li><strong>User Opens Image in JupyterLab Viewer</strong>: The user interacts with the malicious image by opening it within the JupyterLab image viewer.</li>
<li><strong>User Opens Image in New Tab</strong>: The user then, as part of their workflow, opts to open the image from the viewer into a new browser tab.</li>
<li><strong>XSS Execution</strong>: The malicious payload within the image is executed in the user's browser context due to the XSS vulnerability in the image viewer's new tab rendering.</li>
<li><strong>Remote Code Execution</strong>: The executed XSS payload leverages the user's JupyterLab session privileges to perform actions, potentially leading to arbitrary command execution on the underlying JupyterLab server.</li>
<li><strong>Persistent Access/Data Exfiltration</strong>: With RCE, the attacker can establish persistence, exfiltrate sensitive data from the JupyterLab environment or the host server, or further compromise the system.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation of this vulnerability results in arbitrary code execution on the JupyterLab server. This grants attackers the ability to execute commands, potentially access or exfiltrate sensitive data, establish persistence within the environment, and further compromise the host system. Given that JupyterLab is often used for data science and development, this could expose intellectual property, sensitive research data, or grant access to development environments. The vulnerability affects any organization utilizing unpatched JupyterLab instances.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Patch JupyterLab to <code>v4.6.2</code> or <code>v4.5.10</code> immediately by upgrading your <code>pip/jupyterlab</code> installation to remediate the vulnerability.</li>
<li>As a workaround if immediate patching is not possible, disable the image viewer plugin using the command <code>jupyter labextension disable @jupyterlab/imageviewer-extension:plugin</code>.</li>
<li>Monitor JupyterLab server process creation logs and network connection logs for unusual activity that might indicate compromise, especially after user interactions with untrusted image files.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>xss</category><category>rce</category><category>vulnerability</category><category>jupyterlab</category><category>web</category></item></channel></rss>