CVE-2020-15174

Unpreventable top-level navigation in Electron

HIGH
7.5
CVSS Score
Published: October 6, 2020 at 05:35 PM UTC
Updated: June 17, 2026 at 02:56 AM UTC
2 products affected across 2 vendorsElectronElectron

Using electron by electron?

Get instant alerts when new vulnerabilities affect electron - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH7.5
Exploit prediction
EPSS 1%

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

10.0.0 ≤ v < 10.0.18.0.0 ≤ v < 8.5.19.0.0 ≤ v < 9.3.0
Affected range stops below 10.0.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.3.0, so it looks safe — our inference, not a vendor statement
v < 10.0.1v < 8.5.1v < 9.3.0
Affected range stops below 10.0.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.5.1, so it looks safe — our inference, not a vendor statement
Affected range stops below 9.3.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

CVSS

7.5HIGHGitHub_M
Attack Vector
NETWORK
Complexity
HIGH
Privileges
NONE
User Interaction
NONE
Scope
CHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
LOW
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-20CWE-693NVD-CWE-Other

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card