Advisory

GHSA-gx64-gj6p-pc4c

Also known as: BIT-jupyterlab-2026-73415, CVE-2026-73415, PYSEC-2026-3671

Summary

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

Details

JupyterLab's image viewer allows for cross-site scripting (XSS) when a specially-crafted image file is opened through the image viewer and then opened in a new tab. This XSS issue can be used to cause remote code execution (RCE) on the JupyterLab server.

Impact

This vulnerability allows for arbitrary code execution.

Patches

JupyterLab `v4.6.2` and `v4.5.10` contain the patch.

Workarounds

Disable the image viewer plugin:

jupyter labextension disable @jupyterlab/imageviewer-extension:plugin

Confirm with:

jupyter labextension list

Severity

High Basis: The source's own band: HIGH

Dates

Published
2026-07-22 23:14 UTC
Modified
2026-09-10 03:50 UTC

Affected packages and fixes

jupyterlab

PyPI · All systems

Affected

  • introduced 4.6.0, fixed 4.6.2 (ecosystem)

Fixed versions

4.6.2

Fix

  • Fixed version 4.6.2
    pip install --upgrade jupyterlab==4.6.2

jupyterlab

PyPI · All systems

Affected

  • introduced 0, fixed 4.5.10 (ecosystem)

Fixed versions

4.5.10

Fix

  • Fixed version 4.5.10
    pip install --upgrade jupyterlab==4.5.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences