GHSA-f9mq-jph6-9mhm
Arbitrary file read via window-open IPC in Electron
Quick fix
GHSA-f9mq-jph6-9mhm — electron: upgrade to the fixed version with the command below.
npm install electron@7.2.4Details
### Impact The vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.
### Workarounds Ensure you are calling `event.preventDefault()` on all [`new-window`](https://electronjs.org/docs/api/web-contents#event-new-window) events where the `url` or `options` is not something you expect.
### Fixed Versions * `9.0.0-beta.21` * `8.2.4` * `7.2.4`
### 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
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"]}'