CVE-2020-15174
HIGH 7.5CVSS 3.1Unpreventable top-level navigation
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.
- Published
- 6 Oct 2020
- Last modified
- 8 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-693
- Also known as
- GHSA-2q4g-w47c-4674
- Sources
- NVDJSONOSV GHSA-2q4g-w47c-4674JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* |
>= 8.0.0, < 8.5.1 | 8.5.1 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* |
>= 9.0.0, < 9.3.0 | 9.3.0 |
| NVD | electronjs | electroncpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:* |
>= 10.0.0, < 10.0.1 | 10.0.1 |
| OSV | npm | electron | >= 8.0.0-beta.0, < 8.5.1 | 8.5.1 |
| OSV | npm | electron | >= 9.0.0-beta.0, < 9.3.0 | 9.3.0 |
| OSV | npm | electron | >= 10.0.0-beta.0, < 10.0.1 | 10.0.1 |
References
- https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b · Patch, Third Party Advisory, WEB
- https://github.com/electron/electron/security/advisories/GHSA-2q4g-w47c-4674 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-15174 · ADVISORY
- https://github.com/electron/electron · PACKAGE
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Oct 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 6 Oct 2020)