Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. jupyterlab
  4. ›
  5. GHSA-gx64-gj6p-pc4c

GHSA-gx64-gj6p-pc4c: JupyterLab: Image viewer allows XSS when opening malicious image in new browser tab

July 22, 2026

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.

References

  • github.com/advisories/GHSA-gx64-gj6p-pc4c
  • github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2c
  • github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432
  • github.com/jupyterlab/jupyterlab/pull/19184
  • github.com/jupyterlab/jupyterlab/pull/19185
  • github.com/jupyterlab/jupyterlab/pull/19186
  • github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10
  • github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2
  • github.com/jupyterlab/jupyterlab/security/advisories/GHSA-gx64-gj6p-pc4c

Code Behaviors & Features

Detect and mitigate GHSA-gx64-gj6p-pc4c with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.5.10, all versions starting from 4.6.0 before 4.6.2

Fixed versions

  • 4.5.10
  • 4.6.2

Solution

Upgrade to versions 4.5.10, 4.6.2 or above.

Impact 7.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')

Source file

pypi/jupyterlab/GHSA-gx64-gj6p-pc4c.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 08 Aug 2026 00:19:07 +0000.