CVE-2026-54527
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.
- CVSS 4.0
- 9.3
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 - CVSS 3.1
- 9.0
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H - EPSS
- 0.5% chance of exploitation in the next 30 days; higher than 44% of CVEs (scores of 2026-10-25)
- CWE
- CWE-79
- Published
- Modified
- Record from
- the NVD, synced
Affected
- jupyter:jupyterlab-git
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-f962-v9hr-pfg5 | PyPI | jupyterlab-git | >=0.30.0b3 <0.54.0 | 0.54.0 |
| GHSA-f962-v9hr-pfg5 | PyPI | jupyterlab-git-core | >=0.30.0b3 <0.54.0 | 0.54.0 |
| GHSA-f962-v9hr-pfg5 | npm | @jupyterlab/git | >=0.30.0-beta.3 <0.54.0 | 0.54.0 |
| PYSEC-2026-2540 | PyPI | jupyterlab-git | >=0.30.0b3 <0.54.0 | 0.54.0 |
| PYSEC-2026-2541 | PyPI | jupyterlab-git-core | >=0.30.0b3 <0.54.0 | 0.54.0 |
References
- https://github.com/jupyterlab/jupyterlab-git/commit/c6d37b88f36aa59aee317930b95e427fb9d6b09b
- https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0
- https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5
- https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5