CVE-2026-73415: JupyterLab Cross-Site Scripting Vulnerability

HIGH
Advisory Identifier: GHSA-gx64-gj6p-pc4c
CWE-79
Published
Advisory Summary

CVE-2026-73415 is a HIGH cross-site scripting vulnerability (CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')) affecting JupyterLab libraries in the PyPI ecosystem. The issue involves image viewer allows xss when opening malicious image in new browser tab. Remediation is available by upgrading affected packages to version 4.6.2, 4.5.10.

CVE-2026-73415 at a Glance

CVE Identifier CVE-2026-73415
GHSA Identifier GHSA-gx64-gj6p-pc4c
Severity HIGH
CVSS v3.1 Base Score N/A
CWE Classification CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected Product JupyterLab
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix CVE-2026-73415

To remediate this vulnerability, upgrade all affected JupyterLab dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

jupyterlab fixed: 4.6.2
pip install jupyterlab>=4.6.2
jupyterlab fixed: 4.5.10
pip install jupyterlab>=4.5.10
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show jupyterlab

How to Check if You Are Affected

To determine whether your Python environment is affected by CVE-2026-73415, inspect your installed packages using pip:

pip show jupyterlab

Analyze the terminal output to locate any version of JupyterLab in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 4.6.2), your application is affected.

Note: The pip show jupyterlab command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting'), where the product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users. In JupyterLab, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

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`](https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2) and [`v4.5.10`](https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10) contain the patch. ### Workarounds Disable the image viewer plugin: ``` jupyter labextension disable @jupyterlab/imageviewer-extension:plugin ``` Confirm with: ``` jupyter labextension list ```

CVE-2026-73415 Affected JupyterLab Versions

2 component(s)
Fixed Versions:
4.6.24.5.10
Product / Package Ecosystem Affected Versions Fixed Version
jupyterlab
PyPI
≥ 4.6.0
< 4.6.2
4.6.2
jupyterlab
PyPI
< 4.5.10
4.5.10

References

Frequently Asked Questions

What is CVE-2026-73415?
CVE-2026-73415 is a security vulnerability in JupyterLab involving Image viewer allows XSS when opening malicious image in new browser tab under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting').
Which JupyterLab versions are affected?
Affected versions include releases prior to 4.6.2, 4.5.10 across affected packages: jupyterlab.
What version fixes CVE-2026-73415?
Upgrading to 4.6.2, 4.5.10 (or the latest patched release for your respective branch) resolves the vulnerability.
Is jupyterlab affected?
Yes, jupyterlab is affected in releases prior to 4.6.2, 4.5.10. Upgrade your dependency to 4.6.2, 4.5.10 or later.
What CWE is associated with CVE-2026-73415?
CVE-2026-73415 is classified under CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.).
How can I check PyPI dependencies for CVE-2026-73415?
Run the dependency tree command: 'pip show jupyterlab'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-gx64-gj6p-pc4c",
  "modified" : "2026-08-12T19:54:08Z",
  "published" : "2026-07-22T23:14:44Z",
  "aliases" : [ "CVE-2026-73415" ],
  "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.\n\n### Impact\n\nThis vulnerability allows for arbitrary code execution.\n\n### Patches\n\nJupyterLab [`v4.6.2`](https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2) and [`v4.5.10`](https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10) contain the patch.\n\n### Workarounds\n\nDisable the image viewer plugin:\n\n```\njupyter labextension disable @jupyterlab/imageviewer-extension:plugin\n```\n\nConfirm with:\n\n```\njupyter labextension list\n```",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "jupyterlab"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "4.6.0"
      }, {
        "fixed" : "4.6.2"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.6.1"
    }
  }, {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "jupyterlab"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "4.5.10"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 4.5.9"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/security/advisories/GHSA-gx64-gj6p-pc4c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/pull/19184"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/pull/19185"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/pull/19186"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/commit/be9303f5bcd5308eaeae953c5a3c903046682c2c"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/commit/f1beab4a2027af4719d6edc07d52d6cf5a39a432"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/jupyterlab/jupyterlab"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/releases/tag/v4.5.10"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jupyterlab/jupyterlab/releases/tag/v4.6.2"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-79" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-07-22T23:14:44Z",
    "nvd_published_at" : null
  }
}