Electron: Cross-origin iframe can position native autofill popup
electron
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
electron
| Product | Affected | Fixed in |
|---|---|---|
| electron npm |
|
|
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.
From the CVE record · GitHub_M
A cross-origin iframe can position Electron’s native autofill popup outside the iframe, over trusted UI. This can enable clickjacking or spoofing when an app displays untrusted iframe content alongside trusted UI and a user interacts with the overlaid interface.
Check Electron apps using npm electron in versions <39.8.8, >=40.0.0-alpha.1 <40.9.1, >=41.0.0-alpha.1 <41.2.1, or >=42.0.0-alpha.1 <42.0.0-beta.3, especially if they embed untrusted content in iframes alongside trusted UI.