Skip to main content

draw.io CVE-2026-42195

| EUVDEUVD-2026-28833 LOW
URL Redirection to Untrusted Site (Open Redirect) (CWE-601)
2026-05-08 GitHub_M
3.4
CVSS 3.1 · GitHub Advisory

Severity by source

GitHub Advisory PRIMARY
3.4 LOW
AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
vuln.today AI
3.4 LOW

Network-delivered via crafted URL, no attacker privileges required, but AC:H due to social engineering; scope changes to OAuth context with limited confidentiality loss only.

3.1 AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:L/SI:N/SA:N

Primary rating from GitHub Advisory.

CVSS VectorGitHub Advisory

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Changed
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

4
Source Code Evidence Fetched
Jul 23, 2026 - 22:41 vuln.today
Analysis Generated
Jul 23, 2026 - 22:41 vuln.today
Patch available
May 08, 2026 - 23:18 EUVD
CVE Published
May 08, 2026 - 21:22 nvd
LOW 3.4

DescriptionGitHub Advisory

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.

AnalysisAI

Open redirect in draw.io's GitLab OAuth flow allows an attacker to hijack the authorization popup by supplying a crafted ?gitlab= URL parameter, replacing the legitimate GitLab server with an attacker-controlled host. All draw.io versions prior to 29.7.9 are affected; users who follow a crafted link and click through the 'Authorize in GitLab' dialog expose their credentials and OAuth state tokens to the attacker's phishing endpoint. No public exploit has been identified and CISA has not listed this in KEV, but the social-engineering barrier is low given draw.io's shareable-URL model.

Technical ContextAI

CWE-601 (URL Redirection to Untrusted Site) describes this root cause precisely: the draw.io client-side application accepts the ?gitlab= query parameter and passes it unsanitized into the OAuth popup initialization logic, substituting it for the expected gitlab.com endpoint without origin validation. The affected component is the client-side OAuth integration within draw.io's diagramming frontend, identified under CPE cpe:2.3:a:jgraph:drawio:*:*:*:*:*:*:*:* for all releases before 29.7.9. The GitLab OAuth flow relies on a popup window that must open on the identity provider's origin; bypassing this to an attacker-controlled host breaks the trust boundary the OAuth protocol depends on, enabling both credential phishing and interception of the OAuth state token.

RemediationAI

Upgrade draw.io to version 29.7.9 or later; this is the vendor-confirmed patch, available at https://github.com/jgraph/drawio/releases/tag/v29.7.9 and documented in the security advisory at https://github.com/jgraph/drawio/security/advisories/GHSA-8x7j-m8px-7p8x. For self-hosted draw.io deployments where immediate upgrade is not feasible, operators can mitigate by stripping the ?gitlab= query parameter at the reverse proxy or WAF layer - note this will break self-hosted GitLab OAuth integrations where a custom server URL is legitimately needed, so evaluate the trade-off carefully before applying. For draw.io Online (diagrams.net) or desktop clients, parameter stripping is not operator-controllable, making the upgrade the only reliable fix. User awareness training on verifying OAuth popup origins (confirming the popup URL is gitlab.com before entering credentials) provides a weak but additive compensating control.

CVE-2017-1000117 HIGH POC
8.8 Oct 05

A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL ca

CVE-2024-52875 HIGH POC
8.8 Jan 31

GFI Kerio Control versions 9.2.5 through 9.4.5 contain an HTTP response splitting vulnerability in the dest parameter of

CVE-2016-5385 HIGH POC
8.1 Jul 19

PHP through 7.0.8 does not attempt to address RFC 3875 section 4.1.18 namespace conflicts and therefore does not protect

CVE-2013-2248 MEDIUM POC
5.8 Jul 20

Multiple open redirect vulnerabilities in Apache Struts 2.0.0 through 2.3.15 allow remote attackers to redirect users to

CVE-2012-6499 MEDIUM POC
5.8 Jan 12

Open redirect vulnerability in age-verification.php in the Age Verification plugin 0.4 and earlier for WordPress allows

CVE-2015-2863 MEDIUM POC
4.3 Jul 20

Open redirect vulnerability in Kaseya Virtual System Administrator (VSA) 7.x before 7.0.0.29, 8.x before 8.0.0.18, 9.0 b

CVE-2017-3528 MEDIUM POC
5.4 Apr 24

Vulnerability in the Oracle Applications Framework component of Oracle E-Business Suite (subcomponent: Popup windows (li

CVE-2012-0518 MEDIUM
4.7 Oct 16

Unspecified vulnerability in the Oracle Application Server Single Sign-On component in Oracle Fusion Middleware 10.1.4.3

CVE-2024-21641 MEDIUM POC
6.5 Jan 05

Flarum is open source discussion platform software. Rated medium severity (CVSS 6.5), this vulnerability is remotely exp

CVE-2015-5354 MEDIUM POC
5.8 Jul 01

Open redirect vulnerability in Novius OS 5.0.1 (Elche) allows remote attackers to redirect users to arbitrary web sites

CVE-2015-5461 MEDIUM POC
6.4 Jul 08

Open redirect vulnerability in the Redirect function in stageshow_redirect.php in the StageShow plugin before 5.0.9 for

CVE-2024-22891 CRITICAL POC
9.8 Mar 01

Nteract v.0.28.0 was discovered to contain a remote code execution (RCE) vulnerability via the Markdown link. Rated crit

Share

CVE-2026-42195 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy