VDB
Sign up
LOW3.1

GHSA-98mx-cjp9-gchm

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

Quick fix

GHSA-98mx-cjp9-gchm — electron: upgrade to the fixed version with the command below.

npm install electron@45.0.0-alpha.4

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 [security@electronjs.org](mailto:security@electronjs.org)

Are you affected?

Enter the version of the package you're using.

Affected packages

npm/electron
Introduced in: 45.0.0-alpha.1Fixed in: 45.0.0-alpha.4
Fixnpm install electron@45.0.0-alpha.4
npm/electron
Introduced in: 44.0.0-alpha.1Fixed in: 44.1.1
Fixnpm install electron@44.1.1
npm/electron
Introduced in: 43.0.0-alpha.1Fixed in: 43.5.1
Fixnpm install electron@43.5.1
npm/electron
Introduced in: 0Fixed in: 42.11.1
Fixnpm install electron@42.11.1

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:npm/electron"]}'