{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "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"
              }
            ],
            "source": [
              "CPE_RANGE",
              "CPE_STRING",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "ef622d2ce8d9b5cfb866d1712f6c5dc3f251f8b4"
            },
            {
              "fixed": "ccbf077d2149c6b2ed35eae8a7123ae129c022aa"
            },
            {
              "introduced": "b582faf9a46b5e1f20ad1645f83fb5ba09e0ec91"
            },
            {
              "fixed": "c6d37b88f36aa59aee317930b95e427fb9d6b09b"
            }
          ],
          "repo": "https://github.com/jupyterlab/jupyterlab-git",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.30.0-NA"
      ]
    }
  ],
  "aliases": [
    "GHSA-f962-v9hr-pfg5"
  ],
  "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"
  },
  "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.",
  "id": "CVE-2026-54527",
  "modified": "2026-07-17T03:41:41.858140232Z",
  "published": "2026-07-08T21:03:01.698Z",
  "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"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "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",
      "type": "CVSS_V4"
    }
  ],
  "summary": "JupyterLab Git: Stored XSS leading to RCE"
}