QID 983182
QID 983182: Nodejs (npm) Security Update for electron (GHSA-f9mq-jph6-9mhm)
Security update has been released for electron to fix the vulnerability.
Note: The preceding description block is extracted directly from the security advisory. Using automation, we have attempted to clean and format it as much as possible without introducing additional issues.
The vulnerability allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.
Solution
Customers are advised to refer to GHSA-f9mq-jph6-9mhm for updates pertaining to this vulnerability.Workaround:
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.
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.
Vendor References
- GHSA-f9mq-jph6-9mhm -
github.com/advisories/GHSA-f9mq-jph6-9mhm
CVEs related to QID 983182
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-f9mq-jph6-9mhm | electron |
|