CVE-2026-73415: JupyterLab Cross-Site Scripting Vulnerability
HIGHCVE-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
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.
pip install jupyterlab>=4.6.2
pip install jupyterlab>=4.5.10
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
CVE-2026-73415 Affected JupyterLab Versions
2 component(s)| 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?
Which JupyterLab versions are affected?
What version fixes CVE-2026-73415?
Is jupyterlab affected?
What CWE is associated with CVE-2026-73415?
How can I check PyPI dependencies for CVE-2026-73415?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}