{"id":"CVE-2026-54527","summary":"JupyterLab Git: Stored XSS leading to RCE","details":"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.","aliases":["GHSA-f962-v9hr-pfg5","PYSEC-2026-2540","PYSEC-2026-2541"],"modified":"2026-07-17T03:47:46.696470437Z","published":"2026-07-08T21:03:01.698Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-79"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54527.json"},"references":[{"type":"WEB","url":"https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54527.json"},{"type":"ADVISORY","url":"https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54527"},{"type":"FIX","url":"https://github.com/jupyterlab/jupyterlab-git/commit/c6d37b88f36aa59aee317930b95e427fb9d6b09b"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/jupyterlab/jupyterlab-git","events":[{"introduced":"ef622d2ce8d9b5cfb866d1712f6c5dc3f251f8b4"},{"fixed":"ccbf077d2149c6b2ed35eae8a7123ae129c022aa"},{"introduced":"b582faf9a46b5e1f20ad1645f83fb5ba09e0ec91"},{"fixed":"c6d37b88f36aa59aee317930b95e427fb9d6b09b"}],"database_specific":{"source":["CPE_RANGE","CPE_STRING","REFERENCES"],"cpe":["cpe:2.3:a:jupyter:jupyterlab-git:*:*:*:*:*:*:*:*","cpe:2.3:a:jupyter:jupyterlab-git:0.30.0:-:*:*:*:*:*:*"],"extracted_events":[{"introduced":"0.30.1"},{"fixed":"0.54.0"},{"introduced":"0.30.0-NA"},{"last_affected":"0.30.0-NA"}]}}],"versions":["0.30.0-NA","v0.54.0a1","v0.54.0a0","v0.53.0","v0.53.0a1","v0.53.0a0","v0.52.0","v0.51.4","v0.51.3","v0.51.2","v0.51.1","v0.51.0","v0.50.2","v0.50.1","v0.50.0","v0.50.0rc0","v0.44.0","v0.50.0a2","v0.50.0a1","v0.50.0a0","v0.43.0","v0.42.0","v0.42.0rc0","v0.41.0","v0.40.1","v0.40.0","v0.39.3.post1","v0.39.3","v0.39.2","v0.39.1","v0.39.0","v0.38.0","v0.37.1","v0.37.0","v0.36.0","v0.35.0","v0.34.2","v0.34.1","v0.34.0","v0.33.0","v0.32.2","v0.32.1","v0.32.0","v0.31.0","v0.31.0a0","v0.30.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-54527.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V4","score":"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"}]}