9.8

CVE-2023-23623: electron

CVSS: 9.8v3.1CriticalModified
AliasesGHSA-gxh7-wv9q-fwfr
Published 06-09-2023Last modified 26-09-2024

Vulnerability summary

CVE-2023-23623 is a critical (CVSS 9.8) vulnerability in electron. EPSS estimates a 0.66% chance of exploitation in the next 30 days, higher than 51.1% of scored vulnerabilities.

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

Advisory lineage

Upstream 0 · Downstream 1 · Related 1

Timeline

  1. 06-09-2023
    PublishedVulnerability first disclosed.
  2. 26-09-2024
    Last modifiedVulnerability information updated.

Description

Electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS. A Content-Security-Policy that disables eval, specifically setting a `script-src` directive and _not_ providing `unsafe-eval` in that directive, is not respected in renderers that have sandbox disabled. i.e. `sandbox: false` in the `webPreferences` object. This allows usage of methods like `eval()` and `new Function` unexpectedly which can result in an expanded attack surface. This issue only ever affected the 22 and 23 major versions of Electron and has been fixed in the latest versions of those release lines. Specifically, these versions contain the fixes: 22.0.1 and 23.0.0-alpha.2 We recommend all apps upgrade to the latest stable version of Electron. If upgrading isn't possible, this issue can be addressed without upgrading by enabling `sandbox: true` on all renderers.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.66%

Chance of exploitation in the next 30 days

Percentile

51%

Versus all other CVEs

30-day change

0.00 pp

From 0.66% on 21-09-2026

21-09-202621-10-2026
EPSS score
0.66%

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≥ 22.0.0-beta.1, < 22.0.1 | ≥ 23.0.0-alpha.1, < 23.0.0-alpha.2
Electronjs1 product
  • electronEOL22.0.0 | 22.0.0:beta1 | 22.0.0:beta2 | 22.0.0:beta3 | 22.0.0:beta4 | 22.0.0:beta5 | 22.0.0:beta6 | 22.0.0:beta7 | 22.0.0:beta8 | 23.0.0:alpha1
Npm1 product
  • electron≥ 22.0.0-beta.1, < 22.0.1 | ≥ 23.0.0-alpha.1, < 23.0.0-alpha.2

3 vendors · 3 products

References

7 links