CVE-2020-15174
published high CVSS 3.1 · 7.5Unpreventable top-level navigation in Electron
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| electron | — | electron>= 8.0.0-beta.0, < 8.5.1 · >= 9.0.0-beta.0, < 9.3.0 · >= 10.0.0-beta.0, < 10.0.1 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 7.5 / 10
- Severity
- high
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| electron | electron | >= 8.0.0-beta.0, < 8.5.1 (affected)>= 9.0.0-beta.0, < 9.3.0 (affected)>= 10.0.0-beta.0, < 10.0.1 (affected) | GitHub_M · cna |
Weaknesses
2- CWE-693 CWE-693 Protection Mechanism Failure
- CWE-20 CWE-20 Improper Input Validation
References
2Provider assertions
2GitHub_M · cna
Unpreventable top-level navigation in Electron
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 88bb4242ee2bcacfb3cfb321aff3fac2a64bebe5590551e3f98aee7095e488de
- Ingested
- 23 Sep 2026, 07:48:45 UTC
- Source record
- Official CVE record