7.5

CVE-2020-4075: electron

CVSS: 7.5v3.1HighModified
AliasesGHSA-f9mq-jph6-9mhm
Published 07-07-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-4075 is a high (CVSS 7.5) vulnerability in electron. EPSS estimates a 1.18% chance of exploitation in the next 30 days, higher than 67.1% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (NVD)
EPSS score
1.18%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 07-07-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

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.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.18%

Chance of exploitation in the next 30 days

Percentile

67%

Versus all other CVEs

30-day change

0.00 pp

From 1.18% on 20-09-2026

20-09-202620-10-2026
EPSS score
1.18%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Electron1 product
  • electron≥ 9.0.0-beta.0, ≤ 9.0.0-beta.20 | ≥ 8.0.0, < 8.2.4 | < 7.2.4
Electronjs1 product
  • electronEOL≥ 7.0.0, < 7.2.4 | ≥ 8.0.0, < 8.2.4 | 9.0.0 | 9.0.0:beta1 | 9.0.0:beta10 | 9.0.0:beta11 | 9.0.0:beta12 | 9.0.0:beta13 | 9.0.0:beta14 | 9.0.0:beta15 | 9.0.0:beta16 | 9.0.0:beta17 | 9.0.0:beta18 | 9.0.0:beta19 | 9.0.0:beta2 | 9.0.0:beta20 | 9.0.0:beta3 | 9.0.0:beta4 | 9.0.0:beta5 | 9.0.0:beta6 | 9.0.0:beta7 | 9.0.0:beta8 | 9.0.0:beta9
Npm1 product
  • electron< 7.2.4 | ≥ 8.0.0, < 8.2.4

3 vendors · 3 products

References

3 links