VULNERABILITY INTELLIGENCE
CVE-2020-4075
CVSS score6.8 MEDIUM
EPSS probability1.18%
CISA KEVNot currently listed
Published2020-07-07
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
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.
Weakness classification
- CWE-552: Files or Directories Accessible to External Parties
Primary references
- security-advisories@github.com — Third Party Advisory
- security-advisories@github.com — Release Notes, Vendor Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Release Notes, Vendor Advisory