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

- Severity: Low 3.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.19%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-05-08T21:22:40.678Z
- Modified: 2026-10-26T18:10:00.173Z
- Weaknesses: CWE-200, CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- jgraph drawio: < 29.7.9

## 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>

## Sources

- CVE List: [CVE-2026-42195](https://www.cve.org/CVERecord?id=CVE-2026-42195), CVE Terms of Use, modified 2026-05-13
- NVD: [CVE-2026-42195](https://nvd.nist.gov/vuln/detail/CVE-2026-42195), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-42195 · Whole record: https://cve.day/CVE-2026-42195.json · Rebuilt by cve.day 2026-11-25T22:59:21.114Z
