Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

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

0
High
Published: 07/22/2026 (07/22/2026, 23:14:44 UTC)
Source: GCVE Database
Product: jupyterlab

Description

JupyterLab's image viewer contains a cross-site scripting (XSS) vulnerability that can be triggered by opening a specially crafted image file and then opening it in a new browser tab. This vulnerability can lead to remote code execution on the JupyterLab server. Fixed versions 4.6.2 and 4.5.10 address this issue. A workaround is to disable the image viewer plugin.

CVSS v4.0

Attack Vector
Network
Attack Complexity
High
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
Low
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

PyPIghsa
jupyterlab
Affected versions
>=4.6.0 <4.6.2
PyPIghsa
jupyterlab
Affected versions
<4.5.10

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/23/2026, 01:22:46 UTC

Technical Analysis

The vulnerability in JupyterLab's image viewer allows an attacker to execute cross-site scripting (CWE-79) by crafting a malicious image file that, when opened in the image viewer and then in a new browser tab, can execute arbitrary code on the server. This can lead to remote code execution (RCE) on the JupyterLab server. The issue affects versions prior to 4.6.2 (specifically >=4.6.0 <4.6.2) and versions before 4.5.10. The vulnerability has a high severity rating and is documented under GHSA-gx64-gj6p-pc4c.

Potential Impact

Successful exploitation allows arbitrary code execution on the JupyterLab server, which could compromise the server's integrity and confidentiality. This elevates the risk of full system compromise if the server is exposed to untrusted users.

Mitigation Recommendations

Apply the official patches by upgrading JupyterLab to version 4.6.2 or later, or to 4.5.10 or later. Alternatively, disable the image viewer plugin using the command 'jupyter labextension disable @jupyterlab/imageviewer-extension:plugin' to mitigate the vulnerability until patching is possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-gx64-gj6p-pc4c
Osv Schema Version
1.4.0
Aliases
[]
Ecosystems
["PyPI"]
Database Specific Severity
HIGH
Cvss Version
4.0

Threat ID: 6a616bcb9c2644c7f80dbc37

Added to database: 07/23/2026, 01:18:03 UTC

Last enriched: 07/23/2026, 01:22:46 UTC

Last updated: 07/23/2026, 03:51:30 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses