Arbitrary file read via window-open IPC in Electron
Published Jul 7, 2020
7.5
HIGHCVSS 3.1
EPSS 1.18%
Description
In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.
Affected products
-
- Version < 7.2.4StatusaffectedConstraints-
- Version >= 8.0.0, < 8.2.4StatusaffectedConstraints-
- Version >= 9.0.0-beta.0, <= 9.0.0-beta.20StatusaffectedConstraints-
- Version
- ≥ 7.0.0 · < 7.2.4
- ≥ 8.0.0 · < 8.2.4
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
- 9.0.0
No data.
No Red Hat product state for this CVE.
electron
npm
Introduced 0 Fixed 7.2.4electron
npm
Introduced 8.0.0 Fixed 8.2.4
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | electron | 0 | 7.2.4 |
| npm | electron | 8.0.0 | 8.2.4 |
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
1 other source (GHSA) ▾
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
No CVSS v3.0 score for this CVE.
AV:L/AC:L/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 3, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Percentile over time
- EPSS v1
- EPSS v5
- EPSS v2
- EPSS v3
Table of values (12 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 3, 2026 | 1.18% (0.01175) | 66.48th | v5 (v2026.06.15) |
| Sep 20, 2026 | 1.18% (0.01175) | 66.17th | v5 (v2026.06.15) |
| Jul 20, 2024 | 0.18% (0.00178) | 55.36th | v3 (v2023.03.01) |
| Sep 3, 2023 | 0.18% (0.00178) | 54.29th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.16% (0.00161) | 50.90th | v3 (v2023.03.01) |
| Mar 6, 2023 | 0.89% (0.00885) | 27.89th | v2 (v2022.01.01) |
| Apr 1, 2022 | 0.89% (0.00885) | 24.24th | v2 (v2022.01.01) |
| Feb 4, 2022 | 9.03% (0.09029) | 86.86th | v2 (v2022.01.01) |
| Feb 3, 2022 | 2.74% (0.02742) | 63.06th | v1 |
| Jan 6, 2022 | 2.74% (0.02742) | 62.72th | v1 |
| Jan 5, 2022 | 0.62% (0.00624) | 46.35th | v5 (v2026.06.15) |
| Apr 14, 2021 | 0.62% (0.00624) | 0.00th | v1 |
References (4)
- https://github.com/advisories/GHSA-f9mq-jph6-9mhm Advisory
- https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-4075
- https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 x_refsource_MISCRelease NotesVendor Advisory
| Link | Providers | Tags |
|---|---|---|
| https://github.com/advisories/GHSA-f9mq-jph6-9mhm | Advisory | |
| https://github.com/electron/electron/security/advisories/GHSA-f9mq-jph6-9mhm | x_refsource_CONFIRMThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2020-4075 | ||
| https://www.electronjs.org/releases/stable?page=3#release-notes-for-v824 | x_refsource_MISCRelease NotesVendor Advisory |
Change history (0)
No recorded changes yet.