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 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft draw.io URL with malicious ?gitlab= parameter
  2. Delivery
    Deliver link to target via phishing channel
  3. Exploit
    Victim opens crafted draw.io URL
  4. Execution
    Victim clicks 'Authorize in GitLab' dialog
  5. Persist
    OAuth popup opens on attacker-controlled host
  6. Impact
    Attacker captures credentials or OAuth state token

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Redirect URL validation
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires the victim to have access to a draw.io instance with GitLab OAuth sign-in available AND to actively click the 'Authorize in GitLab' dialog after following a crafted link containing the ?gitlab= parameter. No non-default configuration is required beyond the GitLab OAuth integration being present. Exploitation is limited by: required user interaction (UI:R - the victim must click through the authorization dialog), high attack complexity (AC:H - a convincing phishing pretext is necessary to make the victim follow the crafted URL in an OAuth sign-in context), and the attack only yields value if the victim proceeds to enter credentials or approve the OAuth flow on the attacker-controlled popup. Automated or mass exploitation is not viable given these prerequisites, as confirmed by SSVC 'Automatable: no.'

Impact

The provided CVSS 3.1 vector AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:N/A:N yields a Low score of 3.4, which is broadly consistent with real-world risk signals. The high attack complexity (AC:H) reflects the social engineering prerequisite - the attacker must convince a target to follow a crafted link while intending to sign in via GitLab. EPSS at 0.03% (8th percentile) and SSVC 'Exploitation: none, Automatable: no' both confirm no observed mass exploitation. The scope change (S:C) acknowledges that the confidentiality impact crosses into the OAuth/GitLab session context, a reasonable reflection of token exfiltration risk. Critically, the numeric CVSS score of 3.4 may understate targeted-attack risk: stolen OAuth tokens or credentials can enable full GitLab account takeover regardless of the low CVSS. The 'no public exploit identified' status and 'Automatable: no' designation limit concern for now, but the attack surface - shareable diagram URLs with embedded parameters - is inherently suited to spear-phishing campaigns. No conflict exists between data sources on exploitation status.

Exploit ScenarioDerived

An attacker crafts a draw.io sharing URL such as https://app.diagrams.net/?gitlab=https://phishing.attacker.example.com#diagram-id and delivers it to a targeted draw.io user via email or chat. When the victim opens the link and clicks 'Authorize in GitLab,' the OAuth popup opens on the attacker's phishing host instead of gitlab.com, where a convincing GitLab login page captures the user's credentials or intercepts the OAuth state token. No public proof-of-concept has been identified, but the attack requires only standard URL crafting and social delivery.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 23, 2026

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.

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.

Affected VersionsENISA

drawio < 29.7.9

Affected Packages

euvd drawio fix: 29.7.9

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

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.

Know when Open Redirect gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) 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 Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
May 08, 2026 - 23:18 EUVD
CVE Published
May 08, 2026 - 21:22 nvd
LOW 3.4

DescriptionCVE.org

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.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Prevalence
Medium
popular open-source diagramming tool, widely adopted in enterprise teams
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Defer
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

17
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +17
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
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-2018-11784 MEDIUM POC
4.3 Oct 04

When the default servlet in Apache Tomcat versions 9.0.0.M1 to 9.0.11, 8.5.0 to 8.5.33 and 7.0.23 to 7.0.90 returned a r

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

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