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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
jupyterlab jupyterlab
< 4.5.10affected>= 4.6.0, < 4.6.2affected
References
- https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-gx64-gj6p-pc4c ↗
- 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/commit/9365f020baec5221deaf11535ed554c06637c999 ↗
- https://github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2c ↗
- https://github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432 ↗
- 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/releases/tag/v4.7.0a1 ↗