CVEvulnerability

CVE-2020-4075

7.5 HIGH Published 2020-07-07 Modified 2026-06-17 Official page ↗
Status
Modified
Published
2020-07-07
Last modified
2026-06-17
Assigner
[email protected]
CVSS 3.1 ([email protected])
6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS 3.1 ([email protected])
7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS 2.0 ([email protected])
2.1 LOW — AV:L/AC:L/Au:N/C:P/I:N/A:N
Weaknesses
CWE-552

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 configurations

• electronjs electron (>= 7.0.0 < 7.2.4) • electronjs electron (>= 8.0.0 < 8.2.4) • electronjs electron 9.0.0

Related

Weakness · CWE (1)

  • CWE-552 Files or Directories Accessible to External Parties weakness

References