Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, 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. This issue is fixed in versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
Published: 2026-08-05
Score: 3.1 Low
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises when an Electron app embeds an iframe from a cross‑origin source that is not trusted. The framework allows that iframe to position the operating system’s native autofill popup outside its own bounds and over the app’s trusted UI, enabling clickjacking or spoofed form fields. This is a form of improper constraint handling (CWE‑1021).

Affected Systems

Electron applications that use version 39.8.7 or earlier, 40.8.9 or earlier, 41.1.2 or earlier, or 42.0.0‑beta.2 or earlier and which embed untrusted or third‑party content in an iframe are vulnerable. Versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0‑beta.3 and newer include the fix. Applications that do not render any untrusted iframes are not affected.

Risk and Exploitability

The CVSS score of 3.1 indicates low overall severity, and no EPSS score is published, suggesting limited evidence of exploitation. Because the attack vector requires the application to load content that it treats as untrusted, the exploit is limited to applications that embed external iframes. The vulnerability is not included in CISA’s KEV list. An attacker who controls the iframe content could position the autofill popup over the trusted UI, enabling clickjacking or spoofing of UI elements.

Generated by OpenCVE AI on August 5, 2026 at 18:06 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update to Electron 39.8.8, 40.9.0, 41.2.1, or 42.0.0‑beta.3 and later, which contain the fix.
  • Ensure the application does not embed untrusted or third‑party content in iframes, or confine iframe content to trusted origins.
  • If the application does not rely on the native autofill popup, disable that feature via Electron’s configuration for the affected windows.

Generated by OpenCVE AI on August 5, 2026 at 18:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories
Source ID Title
Github GHSA Github GHSA GHSA-x8rc-wpg4-grpf Electron: Cross-origin iframe can position native autofill popup
History

Thu, 06 Aug 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 05 Aug 2026 17:45:00 +0000

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron

Wed, 05 Aug 2026 16:15:00 +0000

Type Values Removed Values Added
Description Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, 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. This issue is fixed in versions 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
Title Electron: Cross-origin iframe can position native autofill popup
Weaknesses CWE-1021
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N'}


Subscriptions

Electron Electron
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-06T14:21:44.543Z

Reserved: 2026-08-04T19:50:27.328Z

Link: CVE-2026-70600

cve-icon Vulnrichment

Updated: 2026-08-06T14:21:40.284Z

cve-icon NVD

Status : Received

Published: 2026-08-05T16:17:04.067

Modified: 2026-08-06T15:17:26.350

Link: CVE-2026-70600

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T18:15:05Z

Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames