{"answers":{"affected":"8 open source packages ship an affected version, including jupyterlab-git, jupyterlab-git-core and @jupyterlab/git. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54527 exists.","fix":"Upgrade jupyterlab-git to 0.54.0 or later.","what":"CVE-2026-54527 is a critical cross-site scripting vulnerability in jupyterlab-git, published on 8 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2026-54527 and fix it if it is affected.\n\nWhat it is: CVE-2026-54527 is a critical cross-site scripting vulnerability in jupyterlab-git, published on 8 Jul 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-54527 exists.\n\nAffected packages and fixed versions:\n- jupyterlab-git (PyPI): affected from 0.30.0b3; fixed in 0.54.0\n- jupyterlab-git (PyPI): affected from 0.30.0b3; fixed in 0.54.0\n- jupyterlab-git (PyPI): affected from 0.30.0b3; fixed in 0.54.0\n- jupyterlab-git-core (PyPI): affected from 0.30.0b3; fixed in 0.54.0\n- jupyterlab-git-core (PyPI): affected from 0.30.0b3; fixed in 0.54.0\n- jupyterlab-git-core (PyPI): affected from 0.30.0b3; fixed in 0.54.0\n- @jupyterlab/git (npm): affected from 0.30.0-beta.3; fixed in 0.54.0\n- @jupyterlab/git (npm): affected from 0.30.0-beta.3; fixed in 0.54.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-54527/ (Markdown: https://insights.sbomify.com/CVE-2026-54527/index.md)","id":"CVE-2026-54527","markdown":"https://insights.sbomify.com/CVE-2026-54527/index.md","name":"CVE-2026-54527","record":{"aliases":["GHSA-f962-v9hr-pfg5","PYSEC-2026-2540","PYSEC-2026-2541"],"analysis":{"component_type":"web_application","fix_type":"upgrade","impacts":["code_execution","account_takeover"],"network_reachable":"yes","non_default_config":false,"product_category":"JupyterLab Git extension","requires_auth":"low_privilege","summary":"Attackers can execute arbitrary JavaScript and potentially code by crafting Git filenames viewed in the JupyterLab Git History tab.","user_interaction":"required","vuln_class":"xss"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"jupyterlab-git","vendor":"jupyter"}],"cvss":{"score":9.3,"severity":"critical","source":"cna","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","version":"4.0"},"cwes":[{"id":"CWE-79","name":"Improper Neutralization of Input During Web Page Generation"}],"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.","ecosystems":["PyPI","npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"JupyterLab Git: Stored XSS leading to RCE","id":"CVE-2026-54527","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xss","year":"2026"},"n_packages":8,"n_references":3,"next":{"headline":"jupyterlab-git excluded_paths Case-Sensitivity Bypass Allows Reading Excluded Directories","id":"CVE-2026-54528"},"packages":[{"ecosystem":"PyPI","fixed":["0.54.0"],"introduced":["0.30.0b3"],"last_affected":[],"package":"jupyterlab-git","purl":null,"source":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"PyPI","fixed":["0.54.0"],"introduced":["0.30.0b3"],"last_affected":[],"package":"jupyterlab-git","purl":"pkg:pypi/jupyterlab-git","source":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"PyPI","fixed":["0.54.0"],"introduced":["0.30.0b3"],"last_affected":[],"package":"jupyterlab-git","purl":"pkg:pypi/jupyterlab-git","source":"PYSEC-2026-2540"},{"ecosystem":"PyPI","fixed":["0.54.0"],"introduced":["0.30.0b3"],"last_affected":[],"package":"jupyterlab-git-core","purl":null,"source":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"PyPI","fixed":["0.54.0"],"introduced":["0.30.0b3"],"last_affected":[],"package":"jupyterlab-git-core","purl":"pkg:pypi/jupyterlab-git-core","source":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"PyPI","fixed":["0.54.0"],"introduced":["0.30.0b3"],"last_affected":[],"package":"jupyterlab-git-core","purl":"pkg:pypi/jupyterlab-git-core","source":"PYSEC-2026-2541"},{"ecosystem":"npm","fixed":["0.54.0"],"introduced":["0.30.0-beta.3"],"last_affected":[],"package":"@jupyterlab/git","purl":null,"source":"GHSA-f962-v9hr-pfg5"},{"ecosystem":"npm","fixed":["0.54.0"],"introduced":["0.30.0-beta.3"],"last_affected":[],"package":"@jupyterlab/git","purl":"pkg:npm/%40jupyterlab/git","source":"GHSA-f962-v9hr-pfg5"}],"prev":{"headline":"Argo Workflows: Incomplete fix for CVE-2026-31892: ArtifactGC.PodSpecPatch bypass of Strict/Secure templateReferencing","id":"CVE-2026-54526"},"products":["jupyterlab-git"],"published":"2026-07-08","related":[{"cvss_score":7.1,"headline":"jupyterlab-git excluded_paths Case-Sensitivity Bypass Allows Reading Excluded Directories","id":"CVE-2026-54528","kev_date_added":null,"published":"2026-07-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-09","vendors":["jupyterlab"]},"summary":"Attackers can execute arbitrary JavaScript and potentially code by crafting Git filenames viewed in the JupyterLab Git History tab.","url":"https://insights.sbomify.com/CVE-2026-54527/"}