CVE-2026-54527: Vulnerability in Jupyterlab-git

Critical. 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.

PyPI, npm, CWE-79

Exploitation
None confirmed
Severity
9 of 10
Attack likelihood
0.4 % in 30 days
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-f962-v9hr-pfg5
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-79
Published
19 Jun 2026
Last change
25 Oct 2026
Likelihood rank
Higher than 32 % of all rated vulnerabilities
Analysis status
Analyzed
Ecosystem
PyPI, npm

Affected products

Affected versions and the first fixed release

  • Jupyterlab-git From 0.30.1 before 0.54.0; Version 0.30.0. Fixed in 0.54.0

Affected packages

Vulnerable version ranges and fixed releases

  • jupyterlab-git PyPI, Affected from 0.30.0b3 before 0.54.0a1. Fixed in 0.54.0
  • jupyterlab-git-core PyPI, Affected from 0.30.0b3 before 0.54.0a1. Fixed in 0.54.0
  • @jupyterlab/git npm, Affected from 0.30.0-beta.3 before 0.54.0-a1. Fixed in 0.54.0

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes

Exploit code

Public exploits and proofs of concept, handle with care

Related