7.5

CVE-2020-15174: electron Improper Input Validation

CVSS: 7.5v3.1HighModified
AliasesGHSA-2q4g-w47c-4674
Published 06-10-2020Last modified 04-08-2024

Vulnerability summary

CVE-2020-15174 is a high (CVSS 7.5) Improper Input Validation vulnerability in electron. EPSS estimates a 1.35% chance of exploitation in the next 30 days, higher than 71% of scored vulnerabilities.

Overall risk
30/100
0100
Medium · default modelHow is this calculated?
CVSS score
7.5/10
010
High · v3.1 (CVE.org)
EPSS score
1.35%
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. 06-10-2020
    PublishedVulnerability first disclosed.
  2. 04-08-2024
    Last modifiedVulnerability information updated.

Description

In Electron before versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 the `will-navigate` event that apps use to prevent navigations to unexpected destinations as per our security recommendations can be bypassed when a sub-frame performs a top-frame navigation across sites. The issue is patched in versions 11.0.0-beta.1, 10.0.1, 9.3.0 or 8.5.1 As a workaround sandbox all your iframes using the sandbox attribute. This will prevent them creating top-frame navigations and is good practice anyway.

CVSS metrics

4 scores · 3 sources · 2 versions

EPSS trend

Probability

1.35%

Chance of exploitation in the next 30 days

Percentile

71%

Versus all other CVEs

30-day change

0.00 pp

From 1.35% on 20-09-2026

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

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≥ 8.0.0-beta.0, < 8.5.1 | ≥ 9.0.0-beta.0, < 9.3.0 | ≥ 10.0.0-beta.0, < 10.0.1
Electronjs1 product
  • electron≥ 8.0.0, < 8.5.1 | ≥ 9.0.0, < 9.3.0 | ≥ 10.0.0, < 10.0.1
Npm1 product
  • electron≥ 8.0.0-beta.0, < 8.5.1 | ≥ 9.0.0-beta.0, < 9.3.0 | ≥ 10.0.0-beta.0, < 10.0.1

3 vendors · 3 products

References

4 links