CVE-2026-70600

Electron: Cross-origin iframe can position native autofill popup

Published Aug 5, 2026 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical 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.

Remediation

No solution or workaround provided in the CVE record.

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
Type Values Removed Values Added
First Time appeared Electronjs
Electronjs electron
CPEs cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*
cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*
Vendors & Products Electronjs
Electronjs electron
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
First Time appeared Electron
Electron electron
Vendors & Products Electron
Electron electron
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'}

Weaknesses
  • CWE-1021

    Improper Restriction of Rendered UI Layers or Frames

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 6, 2026, 2:21 PM
Reserved
Aug 4, 2026, 7:50 PM
Status
Analyzed
Published
Aug 5, 2026, 4:17 PM
Modified
Oct 8, 2026, 1:54 PM