ADVISORIES

GitHub Advisory Database

GHSA-98mx-cjp9-gchm

Electron: Extension tabs.query returns tab URLs and titles without the tabs permission

Details

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.4
  • 44.1.1
  • 43.5.1
  • 42.11.1

For more information

If you have any questions or comments about this advisory, email us at [[email protected]](mailto:[email protected])

Affected packages

EcosystemPackageAffected versions
npmelectron
From 45.0.0-alpha.1 before 45.0.0-alpha.4 (fixed in 45.0.0-alpha.4)
npmelectron
From 44.0.0-alpha.1 before 44.1.1 (fixed in 44.1.1)
npmelectron
From 43.0.0-alpha.1 before 43.5.1 (fixed in 43.5.1)
npmelectron
All versions before 42.11.1 (fixed in 42.11.1)

References