QID 980059
QID 980059: Nodejs (npm) Security Update for electron (GHSA-2q4g-w47c-4674)
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 `will-navigate` event that apps use to prevent navigations to unexpected destinations [as per our security recommendations](https://www.electronjs.org/docs/tutorial/security) can be bypassed when a sub-frame performs a top-frame navigation across sites.
Solution
* `11.0.0-beta.1`
* `10.0.1`
* `9.3.0`
* `8.5.1`Workaround:
Sandbox all your iframes using the [`sandbox` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox). This will prevent them creating top-frame navigations and is good practice anyway.
* `10.0.1`
* `9.3.0`
* `8.5.1`Workaround:
Sandbox all your iframes using the [`sandbox` attribute](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/iframe#attr-sandbox). This will prevent them creating top-frame navigations and is good practice anyway.
Vendor References
- GHSA-2q4g-w47c-4674 -
github.com/advisories/GHSA-2q4g-w47c-4674
CVEs related to QID 980059
Software Advisories
| Advisory ID | Software | Component | Link |
|---|---|---|---|
| GHSA-2q4g-w47c-4674 | electron |
|