Affected versions
Version ranges need review.
PyPIjupyterlab
- Affected versions
- <= 4.5.9
- Fixed version
- 4.5.10
PyPIjupyterlab
- Affected versions
- >= 4.6.0, <= 4.6.1
- Fixed version
- 4.6.2
PyPIjupyterlab
- Affected versions
- <4.5.10 || >=4.6.0 <4.6.2
- Fixed version
- 4.5.10 · 4.6.2
- Affected versions
- Unknown
- Fixed version
- Not reported
- Affected versions
- Unknown
- Fixed version
- Not reported
Exploitation
Description
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
Links
- https://github.com/advisories/GHSA-gx64-gj6p-pc4c
- https://github.com/jupyterlab/jupyterlab
- https://github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2c
- https://github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432
- https://github.com/jupyterlab/jupyterlab/pull/19184
- https://github.com/jupyterlab/jupyterlab/pull/19185
- https://github.com/jupyterlab/jupyterlab/pull/19186
- https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10
- https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-gx64-gj6p-pc4c
- https://nvd.nist.gov/vuln/detail/CVE-2026-73415
- https://pypi.org/project/jupyterlab
Credits
- krassowski
- MUFFANUJ
- dlqqq

