{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-54527","id":"CVE-2026-54527","title":"JupyterLab Git: Stored XSS leading to RCE","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.","descriptionLong":"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.","published":"2026-07-08T21:03:01.698Z","updated":"2026-10-28T02:30:52.120265286Z","reserved":"2026-06-15T18:40:01.651Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"GitHub_M"},"metrics":[{"version":"4.0","score":9.3,"vector":"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","rating":"critical","source":"GitHub_M"},{"version":"4.0","score":9.3,"vector":"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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"critical","source":"github.com"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"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","rating":"critical","source":"GitHub"},{"version":"4.0","score":null,"vector":"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","rating":"unrated","source":"OSV"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"NVD"},{"version":"3.1","score":9,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H","rating":"critical","source":"GitHub"}],"rating":"critical","products":["jupyterlab-git"],"affectedProducts":[{"vendor":"jupyterlab","product":"jupyterlab-git","defaultStatus":null,"versions":[{"version":">= 0.30.0b3, < 0.54.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"PyPI","name":"jupyterlab-git","purl":"pkg:pypi/jupyterlab-git","ranges":[">=0.30.0b3 <0.54.0"],"fixed":["0.54.0"],"advisory":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"PyPI","name":"jupyterlab-git-core","purl":"pkg:pypi/jupyterlab-git-core","ranges":[">=0.30.0b3 <0.54.0"],"fixed":["0.54.0"],"advisory":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"npm","name":"@jupyterlab/git","purl":"pkg:npm/%40jupyterlab/git","ranges":[">=0.30.0-beta.3 <0.54.0"],"fixed":["0.54.0"],"advisory":"GHSA-f962-v9hr-pfg5"}],"cwes":["CWE-79"],"aliases":["GHSA-f962-v9hr-pfg5","PYSEC-2026-2540","PYSEC-2026-2541"],"references":[{"url":"https://github.com/jupyterlab/jupyterlab-git/security/advisories/GHSA-f962-v9hr-pfg5","tags":["x_refsource_CONFIRM","exploit","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/jupyterlab/jupyterlab-git/commit/c6d37b88f36aa59aee317930b95e427fb9d6b09b","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/jupyterlab/jupyterlab-git/releases/tag/v0.54.0","tags":["x_refsource_MISC","Release Notes","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54527.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54527","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-f962-v9hr-pfg5","tags":["advisory"]},{"url":"https://github.com/jupyterlab/jupyterlab-git","tags":["package"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git-core/PYSEC-2026-2541.yaml","tags":["web"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/jupyterlab-git/PYSEC-2026-2540.yaml","tags":["web"]},{"url":"https://pypi.org/project/jupyterlab-git","tags":["web","package"]},{"url":"https://pypi.org/project/jupyterlab-git-core","tags":["web","package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00529,"epssPercentile":0.45451,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-54527","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-54527","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-54527","ok":true,"note":"3 packages"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-f962-v9hr-pfg5","ok":true,"note":"GHSA-f962-v9hr-pfg5"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-54527","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}