// For flags

CVE-2020-4075

Arbitrary file read via window-open IPC in Electron

Severity Score

7.5
*CVSS v3.1

Exploit Likelihood

*EPSS

Affected Versions

*CPE

Public Exploits

0
*Multiple Sources

Exploited in Wild

-
*KEV

Decision

-
*SSVC
Descriptions

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.

En Electron antes de las versiones 7.2.4, 8.2.4 y 9.0.0-beta21, una lectura arbitraria de archivos locales es posible al definir opciones de ventana no seguras en una ventana secundaria abierta por medio de window.open. Como solución alternativa, asegúrense de llamar a la función "event.preventDefault()" en todos los eventos de ventanas nuevas donde la "url" u "options" no es algo que se espera. Esto es corregido en las versiones 9.0.0-beta.21, 8.2.4 y 7.2.4

*Credits: N/A
CVSS Scores
Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Attack Vector
Local
Attack Complexity
Low
Authentication
None
Confidentiality
Partial
Integrity
None
Availability
None
* Common Vulnerability Scoring System
SSVC
  • Decision:-
Exploitation
-
Automatable
-
Tech. Impact
-
* Organization's Worst-case Scenario
Timeline
  • 2019-12-30 CVE Reserved
  • 2020-07-07 CVE Published
  • 2023-03-22 EPSS Updated
  • 2024-08-04 CVE Updated
  • ---------- Exploited in Wild
  • ---------- KEV Due Date
  • ---------- First Exploit
CWE
  • CWE-552: Files or Directories Accessible to External Parties
CAPEC
Affected Vendors, Products, and Versions
Vendor Product Version Other Status
Vendor Product Version Other Status <-- --> Vendor Product Version Other Status
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
>= 7.0.0 < 7.2.4
Search vendor "Electronjs" for product "Electron" and version " >= 7.0.0 < 7.2.4"
-
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
>= 8.0.0 < 8.2.4
Search vendor "Electronjs" for product "Electron" and version " >= 8.0.0 < 8.2.4"
-
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
-
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta1
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta10
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta11
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta12
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta13
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta14
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta15
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta16
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta17
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta18
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta19
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta2
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta20
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta3
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta4
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta5
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta6
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta7
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta8
Affected
Electronjs
Search vendor "Electronjs"
Electron
Search vendor "Electronjs" for product "Electron"
9.0.0
Search vendor "Electronjs" for product "Electron" and version "9.0.0"
beta9
Affected