Electron tab URL and title exposure in chrome.tabs.query()
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 versions 42.11.1, 43.5.1, 44.1.1, and 45.0.0-alpha.4, chrome.tabs.query() returned each tab's url and title to extensions that had neither the tabs permission nor matching host permissions. An application that loaded an extension it did not fully trust through session.extensions.loadExtension could therefore allow that extension to read the URL and title of every webContents in its session. This issue is fixed in versions 42.11.1, 43.5.1, 44.1.1, and 45.0.0-alpha.4.
From the CVE record · GitHub_M
Electron's chrome.tabs.query() returned tab URLs and titles to extensions without the tabs permission or matching host permissions. If an application loaded an untrusted extension through session.extensions.loadExtension, that extension could read the URL and title of every webContents in its session.
Check applications using npm electron versions <42.11.1, >=43.0.0-alpha.1 <43.5.1, >=44.0.0-alpha.1 <44.1.1, or >=45.0.0-alpha.1 <45.0.0-alpha.4.