Vulnerability in Electron
CVE-2020-4075
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()`…
EPSS: 0.012 (64.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 6.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N.
Affected products
- Electron — versions >= 9.0.0-beta.0, <= 9.0.0-beta.20, >= 8.0.0, < 8.2.4, < 7.2.4
- Electronjs Electron — versions 9.0.0
Weakness classification (CWE)
References
- security-advisories@github.com (x_refsource_MISC, Release Notes, Vendor Advisory)
- security-advisories@github.com (x_refsource_CONFIRM, Third Party Advisory)
Frequently asked questions
- What is CVE-2020-4075?
- CVE-2020-4075 is a medium-severity vulnerability in Electron, classified under Files or Directories Accessible to External Parties. CVSS score: 6.8/10. Published 2020-07-07.
- How severe is CVE-2020-4075?
- Medium severity. CVSS v3 base score is 6.8 out of 10.