Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAttacker controls cross-origin iframe content
-
DeliveryTrigger native autofill popup in iframe
-
ExploitSupply out-of-bounds position values
-
ExecutionAutofill popup overlays trusted parent window UI
-
PersistVictim interacts with spoofed UI element
-
ImpactClickjacking 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N
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.
Primary rating from Vendor (https://github.com/electron/electron).
CVSS VectorNVD
Lifecycle Timeline
4DescriptionNVD
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.341.2.140.9.039.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Cross-Site Scripting occurs when an application accepts untrusted data and sends it to a web browser without proper validation or encoding.
EUVD-2026-53432
GHSA-x8rc-wpg4-grpf
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB