{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "29.7.9"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "5dc0133c688dc28e1990f0b0fb4808732e814f09"
            }
          ],
          "repo": "https://github.com/jgraph/drawio",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-8x7j-m8px-7p8x"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-200",
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42195.json"
  },
  "details": "draw.io is a configurable diagramming and whiteboarding application. Prior to version 29.7.9, the draw.io client accepts a ?gitlab= URL parameter that overrides the GitLab server URL used during OAuth sign-in. A crafted link causes the user's click on draw.io's \"Authorize in GitLab\" dialog to open a popup on the attacker-controlled host instead of gitlab.com. This can lead to credential fishing and session state token exfiltration. This issue has been patched in version 29.7.9.",
  "id": "CVE-2026-42195",
  "modified": "2026-09-09T11:30:49.080539253Z",
  "published": "2026-05-08T21:22:40.678Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/jgraph/drawio/releases/tag/v29.7.9"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/42xxx/CVE-2026-42195.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/jgraph/drawio/security/advisories/GHSA-8x7j-m8px-7p8x"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-42195"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/jgraph/drawio/issues/493"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Unvalidated gitlab URL parameter redirects OAuth authorize step to attacker-controlled host"
}