CVE-2020-15174: Electronjs Electron
High severity, CVSS 7.5. EPSS: 1.3% probability of exploitation activity in the next 30 days.
In Electron before versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 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. The issue is patched in versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 As a workaround sandbox all your iframes using the sandbox attribute. This will prevent them creating top-frame navigations and is good practice anyway.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Electronjs Electron, from 8.0.0, before 8.5.1: fixed in 8.5.1
- Electronjs Electron, from 9.0.0, before 9.3.0: fixed in 9.3.0
- Electronjs Electron, from 10.0.0, before 10.0.1: fixed in 10.0.1
Affected products
- Electronjs Electron: from 8.0.0, before 8.5.1 (fixed in 8.5.1); from 9.0.0, before 9.3.0 (fixed in 9.3.0); from 10.0.0, before 10.0.1 (fixed in 10.0.1)
Affected packages
- electron (npm)
Published 2020-10-06. Last modified 2026-06-17.