Skip to main content

Electron Framework EUVDEUVD-2026-53432

| CVE-2026-70600 MEDIUM
Improper Restriction of Rendered UI Layers or Frames (CWE-1021)
2026-08-05 https://github.com/electron/electron GHSA-x8rc-wpg4-grpf
4.3
CVSS 3.1 · NVD
View

Attack ChainAIDerived

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

  1. Access
    Attacker controls cross-origin iframe content
  2. Delivery
    Trigger native autofill popup in iframe
  3. Exploit
    Supply out-of-bounds position values
  4. Execution
    Autofill popup overlays trusted parent window UI
  5. Persist
    Victim interacts with spoofed UI element
  6. Impact
    Clickjacking or UI spoofing achieved

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V3 - Web Frontend Security Clickjacking prevention, X-Frame-Options
Exploitation Conditions

Exploitation requires three simultaneous conditions to be true: (1) The target Electron application must embed a cross-origin iframe whose content is attacker-influenced or attacker-controlled - this rules out apps that only load same-origin iframes or fully trusted third-party content; (2) The same Electron BrowserWindow must also present trusted application UI elements (buttons, forms, dialogs) that are valuable targets for spoofing - apps that use isolated windows for untrusted content are not affected; (3) A user must interact with the spoofed autofill popup overlay, meaning passive observation without clicking does not complete the attack (UI:R). Limiting factors that materially reduce real-world risk: the app architecture prerequisite (embedding untrusted iframes alongside trusted UI is atypical for most Electron apps); the requirement for user interaction; and the high attack complexity (AC:H) reflecting the need for a specific, non-default deployment configuration. Electron apps that do not embed untrusted third-party content are explicitly confirmed not affected by the vendor advisory.

Impact

The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N) scores 3.1 (Low), accurately capturing the high attack complexity and limited integrity-only impact. AC:H reflects a meaningful prerequisite: the target Electron application must be specifically architected to embed untrusted cross-origin iframe content within a window that also renders trusted native UI - this is not a default or common pattern for most Electron apps. UI:R correctly flags that a victim must interact with the spoofed element. No EPSS data was supplied in the intelligence feed; however, given the narrow attack surface (specific app architecture required), opportunistic mass exploitation is implausible. The absence of a CISA KEV listing and the absence of any reported public exploit code further reduce near-term urgency. That said, the qualitative risk to applications that do embed untrusted iframes (e.g., in-app browser panels or embedded third-party widgets) is non-trivial: clickjacking attacks can bypass CSRF protections, harvest credentials, or trick users into confirming privileged actions. For such applications specifically, this warrants prompt patching rather than deferral. No conflicting signals are present in the available data.

Exploit ScenarioDerived

An attacker who controls content served into a cross-origin iframe embedded within a vulnerable Electron application crafts a page that triggers the native autofill popup and supplies positioning values placing it over a trust-critical UI element in the parent window - such as a 'Confirm Payment', 'Grant Permission', or 'Login' button. When the victim user attempts to interact with the spoofed trusted element, they unknowingly interact with the attacker-positioned autofill overlay, potentially confirming an unintended action or being deceived about the application's current state. No public proof-of-concept has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 05, 2026

Cross-origin iframe autofill popup positioning in Electron allows a malicious iframe to render the native autofill popup outside its own bounds, overlapping the embedding application's trusted UI and enabling clickjacking or UI spoofing attacks. Affected are only Electron applications that deliberately embed untrusted cross-origin iframes within windows that also present trusted native UI - apps without such patterns are explicitly not at risk. No public exploit code has been identified at time of analysis, and the vendor-confirmed CVSS score of 3.1 (Low) reflects the high attack complexity and constrained impact, though the nature of the spoofing risk makes it qualitatively more dangerous than the score alone suggests for vulnerable app architectures.

RemediationAI

Upgrade Electron to one of the vendor-confirmed fixed versions: 39.8.8 (stable 39.x branch), 41.2.1 (stable 41.x branch), 40.9.0 or 40.9.1 (verify exact fix version against the Electron changelog for the 40.x branch), or 42.0.0-beta.3 (pre-release 42.x). The upstream security advisory is at https://github.com/electron/electron/security/advisories/GHSA-x8rc-wpg4-grpf and the GitHub Advisory Database entry is https://github.com/advisories/GHSA-x8rc-wpg4-grpf. If immediate upgrade is not feasible, the vendor-endorsed workaround is to avoid embedding untrusted cross-origin content in iframes within any Electron window that also displays trusted application UI; this may be achievable by isolating untrusted iframe content in dedicated, separate BrowserWindow instances with no shared trusted UI. Note that this architectural separation may require non-trivial refactoring if untrusted iframes are currently co-located with privileged UI by design. Contact security@electronjs.org for vendor guidance on specific deployment scenarios.

Affected VersionsENISA

electron 42.0.0-alpha.1, < 42.0.0-beta.3
electron < 39.8.8
electron 40.0.0-alpha.1, < 40.9.0
electron 41.0.0-alpha.1, < 41.2.1

Affected Packages

npm electron fix: 39.8.8, 40.9.1, 41.2.1, 42.0.0-beta.3
euvd electron_40_0_0_alpha_1 fix: 40.9.0
euvd electron_41_0_0_alpha_1 fix: 41.2.1
euvd electron_42_0_0_alpha_1 fix: 42.0.0-beta.3

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 4 packages in npm, euvd

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

Technical ContextAI · show details

Electron is an open-source framework (npm/electron) that bundles Chromium and Node.js to build cross-platform desktop applications. CWE-1021 (Improper Restriction of Rendered UI Layers or Frames) identifies the root cause: the native autofill popup - a privileged OS-level UI element rendered outside the standard web content compositor - fails to enforce that its screen position remains within the bounds of the iframe that triggered it. Because the autofill popup is drawn by the host OS or Electron's native layer rather than by the web renderer, same-origin boundary enforcement does not automatically apply to its positioning. A cross-origin iframe can therefore supply positioning hints that cause the popup to appear over arbitrary regions of the parent window's trusted UI, including buttons, dialogs, or form fields owned by the embedding application. This is distinct from traditional XSS; no script execution is involved - only visual overlay and interaction hijacking via a UI layer ordering violation.

Know when the next one hits your stack

  • 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 (https://github.com/electron/electron) PRIMARY LOW
NVD 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
vuln.today AI 3.1 LOW

AC:H reflects mandatory non-default app architecture; UI:R for required victim interaction; I:L only since impact is visual UI spoofing without data exfiltration or availability loss.

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

Primary rating from Vendor (https://github.com/electron/electron).

CVSS VectorNVD

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

Lifecycle Timeline

4
Severity Changed
Oct 08, 2026 - 14:07 NVD
LOW MEDIUM
CVSS changed
Oct 08, 2026 - 14:07 NVD
3.1 (LOW) 4.3 (MEDIUM)
Patch available
Aug 05, 2026 - 17:02 EUVD
CVE Published
Aug 05, 2026 - 15:40 github-advisory
LOW 3.1

DescriptionNVD

Impact

The native autofill popup could be positioned by a cross-origin iframe outside that iframe's bounds, over the embedding page's UI, enabling clickjacking or spoofing of trusted UI.

Apps are only affected if they embed untrusted content in iframes within windows that also display trusted UI. Apps that do not embed untrusted third-party content are not affected.

Workarounds

Do not embed untrusted content in iframes inside windows that display trusted UI.

Fixed Versions

  • 42.0.0-beta.3
  • 41.2.1
  • 40.9.0
  • 39.8.8

For more information

If you have any questions or comments about this advisory, email Electron at [security@electronjs.org](mailto:security@electronjs.org)

Threat Intelligence Overview

EPSS Score
0.1%
Top 97% exploitable
Prevalence
High
widely deployed desktop framework (VS Code, Slack, Discord, Teams)
Threat Intel
1
1 sources
Data Quality
7 sources
Confidence: High
EUVD 🇯🇵JVN NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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 MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.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
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
High
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.

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