CVE-2026-54527
CRITICAL 9.3CVSS 4.0jupyterlab-git extension: Stored XSS leading to RCE
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.
- Published
- 8 Jul 2026
- Last modified
- 25 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-79
- Also known as
- GHSA-f962-v9hr-pfg5PYSEC-2026-2540PYSEC-2026-2541
- Sources
- NVDJSONOSV GHSA-f962-v9hr-pfg5JSONOSV PYSEC-2026-2540JSONOSV PYSEC-2026-2541JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | CRITICAL 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/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 |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| OSV | PyPA | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.0 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | jupyter | jupyterlab-gitcpe:2.3:a:jupyter:jupyterlab-git:*:*:*:*:*:*:*:* |
>= 0.30.1, < 0.54.0 | 0.54.0 |
| NVD | jupyter | jupyterlab-gitcpe:2.3:a:jupyter:jupyterlab-git:0.30.0:-:*:*:*:*:*:* |
= 0.30.0 | |
| NVD | jupyter | jupyterlab-gitcpe:2.3:a:jupyter:jupyterlab-git:0.30.0:beta3:*:*:*:*:*:* |
= 0.30.0 | |
| OSV | PyPI | jupyterlab-git | >= 0.30.0b3, < 0.54.0 | 0.54.0 |
| OSV | PyPI | jupyterlab-git-core | >= 0.30.0b3, < 0.54.0 | 0.54.0 |
| OSV | npm | @jupyterlab/git | >= 0.30.0-beta.3, < 0.54.0 | 0.54.0 |
References
- https://github.com/jupyterlab/jupyterlab-git/commit/c6d37b88f36aa59aee317930b95e427fb9d6b09b · Patch, WEB
- https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0 · Release Notes, WEB
- https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5 · Exploit, Mitigation, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-54527 · ADVISORY
- https://github.com/advisories/GHSA-f962-v9hr-pfg5 · ADVISORY
- https://github.com/jupyterlab/jupyterlab-git · PACKAGE
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git-core/PYSEC-2026-2541.yaml · WEB
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git/PYSEC-2026-2540.yaml · WEB
- https://pypi.org/project/jupyterlab-git · WEB, PACKAGE
- https://pypi.org/project/jupyterlab-git-core · WEB, PACKAGE
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 8 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:12 UTC · OSV: first stored (published 13 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 19 Jun 2026)