# CVE-2020-15174: Unpreventable top-level navigation in Electron

- Priority: **Prioritise**
- Reason: Severe, CVSS 7.5 (CVE.org); no exploitation reported by the 5 checked sources; EPSS 1% (FIRST, 04-12-2026)
- Next step: Check applicability: affected before 8.5.1, 9.3.0, 10.0.1 (CNA); fix release not confirmed
- Status: published
- Published: 2020-10-06 · Modified: 2024-08-04
- Aliases: GHSA-2q4g-w47c-4674
- Record: https://cvemate.com/vulnerability/CVE-2020-15174 · JSON: https://cvemate.com/vulnerability/CVE-2020-15174/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:N/I:H/A:L
- EPSS: 1.346%, percentile 72.376%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- 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
- electronjs electron: ≥ 8.0.0, \< 8.5.1 \| ≥ 9.0.0, \< 9.3.0 \| ≥ 10.0.0, \< 10.0.1
- Npm electron (Npm): ≥ 8.0.0-beta.0, \< 8.5.1 \| ≥ 9.0.0-beta.0, \< 9.3.0 \| ≥ 10.0.0-beta.0, \< 10.0.1

## References

- <https://github.com/electron/electron/security/advisories/GHSA-2q4g-w47c-4674>
- <https://github.com/electron/electron/commit/18613925610ba319da7f497b6deed85ad712c59b>
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15174>
- <https://github.com/electron/electron>

---

Data as of 2026-12-05T11:37:32.794Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
