# CVE-2026-54527: JupyterLab Git: Stored XSS leading to RCE

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-19T19:36:04.000Z
- Modified: 2026-10-25T17:10:00.197Z
- Also known as: GHSA-f962-v9hr-pfg5, PYSEC-2026-2540, PYSEC-2026-2541
- Weaknesses: CWE-79
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- jupyterlab jupyterlab-git: >= 0.30.0b3, < 0.54.0
- jupyterlab-git (PyPI): from 0.30.0b3 before 0.54.0
- jupyterlab-git-core (PyPI): from 0.30.0b3 before 0.54.0
- @jupyterlab/git (npm): from 0.30.0-beta.3 before 0.54.0
- jupyter jupyterlab-git: from 0.30.1 before 0.54.0; 0.30.0

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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`
- GitHub: CVSS:3.1 9.0 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- GitHub: CVSS:4.0 High `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: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H`
- PyPA Advisory Database: 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`

## References

- <https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5> (exploit, mitigation, vendor-advisory, web)
- <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://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> (package, web)
- <https://pypi.org/project/jupyterlab-git-core> (package, web)

## Sources

- CVE List: [CVE-2026-54527](https://www.cve.org/CVERecord?id=CVE-2026-54527), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-f962-v9hr-pfg5](https://github.com/advisories/GHSA-f962-v9hr-pfg5), CC-BY-4.0, modified 2026-09-04
- NVD: [CVE-2026-54527](https://nvd.nist.gov/vuln/detail/CVE-2026-54527), Public domain, modified 2026-10-25
- PyPA Advisory Database: [PYSEC-2026-2540](https://osv.dev/vulnerability/PYSEC-2026-2540), CC-BY-4.0, modified 2026-07-13
- PyPA Advisory Database: [PYSEC-2026-2541](https://osv.dev/vulnerability/PYSEC-2026-2541), CC-BY-4.0, modified 2026-07-13

---

Page: https://cve.day/CVE-2026-54527 · Whole record: https://cve.day/CVE-2026-54527.json · Rebuilt by cve.day 2026-11-25T22:59:27.436Z
