Skip to content
OpenAdvisories
Critical · 9.3 CVE-2026-54527 EUVD-2026-42428GHSA-f962-v9hr-pfg5PYSEC-2026-2540PYSEC-2026-2541

JupyterLab Git: Stored XSS leading to RCE

Published Jul 8, 2026 · Updated Jul 9, 2026 · Assigned by GitHub_M

Description

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 products

VendorProductAffectedFixed
jupyterlab jupyterlab-git >= 0.30.0b3, < 0.54.0 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @jupyterlab/git >= 0.30.0-beta.3, < 0.54.0 0.54.0 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

References