CVE-2026-54527
jupyterlab-git extension: Stored XSS leading to RCE
Auswirkung
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.
Ein Angreifer kann die Lücke über das Netzwerk ausnutzen, mit einem normalen Benutzerkonto, allerdings muss ein Nutzer etwas tun, etwa eine Datei oder einen Link öffnen. Bei Erfolg: hohes Risiko, dass Daten ausgelesen werden, hohes Risiko, dass Daten oder Systeme verändert werden, hohes Risiko für Ausfälle. Der Angriff kann über die verwundbare Komponente hinaus wirken.
Betroffene Pakete
| Ökosystem | Paket | Betroffen | Behoben 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 |
Betroffene Produkte · Jupyter
| Produkt | Betroffene Versionen |
|---|---|
| Jupyterlab-git | ab 0.30.1 vor 0.54.0 Version 0.30.0 |
Schwachstellenklasse
Referenzen
- NVD-Eintrag
- CVE.org-Eintrag
- 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