electron
Affected
- introduced
8.0.0-beta.0, fixed8.5.1(semver)
Fixed versions
8.5.1
Fix
- Fixed version
8.5.1npm install [email protected]
Advisory
Also known as: CVE-2020-15174
Unpreventable top-level navigation
Impact
The will-navigate event that apps use to prevent navigations to unexpected destinations as per our security recommendations can be bypassed when a sub-frame performs a top-frame navigation across sites.
Patches
11.0.0-beta.110.0.19.3.08.5.1Workarounds
Sandbox all your iframes using the `sandbox` attribute. This will prevent them creating top-frame navigations and is good practice anyway.
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
8.0.0-beta.0, fixed 8.5.1 (semver)8.5.1
8.5.1npm install [email protected]9.0.0-beta.0, fixed 9.3.0 (semver)9.3.0
9.3.0npm install [email protected]10.0.0-beta.0, fixed 10.0.1 (semver)10.0.1
10.0.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0