critical9.0
CVE-2026-54527
jupyterlab-git extension: Stored XSS leading to RCE
Impact
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 packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| pip | jupyterlab-git | >= 0.30.0b3, < 0.54.0a1 | 0.54.0 |
| pip | jupyterlab-git-core | >= 0.30.0b3, < 0.54.0a1 | 0.54.0 |
| npm | @jupyterlab/git | >= 0.30.0-beta.3, < 0.54.0-a1 | 0.54.0 |
Affected products
| Vendor | Product | Affected versions |
|---|---|---|
| Jupyter | Jupyterlab-Git | from 0.30.1 before 0.54.0 Version 0.30.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/advisories/GHSA-f962-v9hr-pfg5
- https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5
- https://nvd.nist.gov/vuln/detail/CVE-2026-54527
- https://github.com/jupyterlab/jupyterlab-git/commit/c6d37b88f36aa59aee317930b95e427fb9d6b09b
- https://github.com/jupyterlab/jupyterlab-git
- https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git-core/PYSEC-2026-2541.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git/PYSEC-2026-2540.yaml
- https://pypi.org/project/jupyterlab-git
- https://pypi.org/project/jupyterlab-git-core