GitHub Advisory Database
GHSA-f9mq-jph6-9mhm
Arbitrary file read via window-open IPC in Electron
Details
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 events where the url or options is not something you expect.
Fixed Versions
9.0.0-beta.218.2.47.2.4
For more information
If you have any questions or comments about this advisory:
- Email us at [[email protected]](mailto:[email protected])
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | electron | All versions before 7.2.4 (fixed in 7.2.4) |
| npm | electron | From 8.0.0 before 8.2.4 (fixed in 8.2.4) |