Description
JupyterLab Git is a Git extension for JupyterLab. From 0.30.0b3 before 0.54.0, the PlainTextDiff.ts createHeader() method passes Git filenames directly to innerHTML when rendering renamed files in commit history, allowing a crafted filename to execute JavaScript when a victim views the rename diff in the Git History tab. This issue is fixed in version 0.54.0.
Affected products
jupyter: jupyterlab-git
References4
- github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f… ExploitMitigationVendor Advisory
- github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f… ExploitMitigationVendor Advisory
- github.com/jupyterlab/jupyterlab-git/commit/c6d37b88f36aa59aee3… Patch
- github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0 Release Notes
Metrics
- CVSS 3.1
-
9.0
CRITICAL
Score source: NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H - CVSS 4.0
-
9.3
CRITICAL
Score source: CNA
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - EPSS — exploit probability
- 1% percentile: 45 · as of 15 November 2026
- CWE
- CWE-79
Could this be exploited in your environment?
A patch closes the known hole. A penetration test shows what an attacker can still reach — with proof.