Unpreventable top-level navigation in Electron (electron electron)
At a glance
- Source
- NVD
- EPSS
- EPSS 1.35 % · percentile 71 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Modified
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.
Weaknesses (CWE)
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| 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 | GitHub_M |
| 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 · 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 2.0 | MEDIUM 5.8 | AV:N/AC:M/Au:N/C:N/I:P/A:P | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-2q4g-w47c-4674 — Unpreventable top-level navigation
European references
- ENISA EUVD · EUVD-2020-1401
- GCVE · GCVE-0-2020-15174
Affected configurations (NVD CPE)
cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*≥ 8.0.0 < 8.5.1cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*≥ 9.0.0 < 9.3.0cpe:2.3:a:electronjs:electron:*:*:*:*:*:*:*:*≥ 10.0.0 < 10.0.1
Affected products
| Product | Versions |
|---|---|
| electron · electron | affected >= 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 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |