Electron: Extension tabs.query returns tab URLs and titles without the tabs permission
What fixes it
- 45.0.0-alpha.4electron, npmGitHub
npm install electron@45.0.0-alpha.4 - 44.1.1electron, npmGitHub
npm install electron@44.1.1 - 43.5.1electron, npmGitHub
npm install electron@43.5.1 - 42.11.1electron, npmGitHub
npm install electron@42.11.1
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Impact
chrome.tabs.query() returned each tab's url and title to extensions that held neither the tabs permission nor matching host permissions, so any loaded extension could read the URL and title of every webContents in its session.
Apps are only affected if they load extensions (session.extensions.loadExtension) that they do not fully trust. Apps that load no extensions, or only trusted ones, are not affected.
Workarounds
Do not load untrusted or unvalidated extensions. In general you should only load trusted extensions.
Fixed Versions
45.0.0-alpha.444.1.143.5.142.11.1
For more information
If you have any questions or comments about this advisory, email us at [security@electronjs.org](mailto:security@electronjs.org)
Text from GitHub Advisory Database
Affected versions 12
- electron, npm>= 45.0.0-alpha.1, < 45.0.0-alpha.4GitHub
- electron, npm>= 44.0.0-alpha.1, < 44.1.1GitHub
- electron, npm>= 43.0.0-alpha.1, < 43.5.1GitHub
- electron, npm< 42.11.1GitHub
- electronaffected: < 42.11.1CVE List
- electronaffected: >= 43.0.0-alpha.1, < 43.5.1CVE List
- electronaffected: >= 44.0.0-alpha.1, < 44.1.1CVE List
- electronaffected: >= 45.0.0-alpha.1, < 45.0.0-alpha.4CVE List
- electron, npmfrom 45.0.0-alpha.1, fixed in 45.0.0-alpha.4OSV
- electron, npmfrom 44.0.0-alpha.1, fixed in 44.1.1OSV
- electron, npmfrom 43.0.0-alpha.1, fixed in 43.5.1OSV
- electron, npmfrom first release, fixed in 42.11.1OSV
References 17
- github.com/electron/electron/commit/16e6103c1d84cd1c46336647b55e96414da501a4Fixvia CVE List
- github.com/electron/electron/commit/5acc76667d32ff310d04f965b47983412ab6553cFixvia CVE List
- github.com/electron/electron/commit/b1eb86ca8f6fa39fe9d5fee21bb9a0bf591a6a3fFixvia CVE List
- github.com/electron/electron/commit/d6529d65e5f096cd45bbb2828febb2c6baa53921Fixvia CVE List
- github.com/electron/electron/commit/f3ae30fab9aabfd445eedff4dd7a2f003eb1ff2fFixvia CVE List
- github.com/electron/electron/releases/tag/v42.11.1Fixvia CVE List
- github.com/electron/electron/releases/tag/v43.5.1Fixvia CVE List
- github.com/electron/electron/releases/tag/v44.1.1Fixvia CVE List
- github.com/electron/electron/releases/tag/v45.0.0-alpha.4Fixvia CVE List
- github.com/electron/electron/security/advisories/GHSA-98mx-cjp9-gchmAdvisoryvia CVE List
- github.com/advisories/GHSA-98mx-cjp9-gchmAdvisoryvia GitHub
- nvd.nist.gov/vuln/detail/CVE-2026-113797Referencevia GitHub
- github.com/electron/electron/pull/52597Referencevia CVE List
- github.com/electron/electron/pull/53353Referencevia CVE List
- github.com/electron/electron/pull/53354Referencevia CVE List
- github.com/electron/electron/pull/53355Referencevia CVE List
- github.com/electron/electron/pull/53356Referencevia CVE List