6.6

CVE-2023-39956: electron Code Injection

CVSS: 6.6v3.1MediumModified
AliasesGHSA-7x97-j373-85x5
Published 06-09-2023Last modified 26-09-2024

Vulnerability summary

CVE-2023-39956 is a medium (CVSS 6.6) Code Injection vulnerability in electron. EPSS estimates a 0.49% chance of exploitation in the next 30 days, higher than 41.2% of scored vulnerabilities.

Overall risk
26/100
0100
Medium · default modelHow is this calculated?
CVSS score
6.6/10
010
Medium · v3.1 (NVD)
EPSS score
0.49%
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-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. Electron apps that are launched as command line executables are impacted. Specifically this issue can only be exploited if the following conditions are met: 1. The app is launched with an attacker-controlled working directory and 2. The attacker has the ability to write files to that working directory. This makes the risk quite low, in fact normally issues of this kind are considered outside of our threat model as similar to Chromium we exclude Physically Local Attacks but given the ability for this issue to bypass certain protections like ASAR Integrity it is being treated with higher importance. This issue has been fixed in versions:`26.0.0-beta.13`, `25.4.1`, `24.7.1`, `23.3.13`, and `22.3.19`. There are no app side workarounds, users must update to a patched version of Electron.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.49%

Chance of exploitation in the next 30 days

Percentile

41%

Versus all other CVEs

30-day change

0.00 pp

From 0.49% on 21-09-2026

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

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.3.19 | ≥ 23.0.0, < 23.3.13 | ≥ 24.0.0, < 24.7.1 | ≥ 25.0.0, < 25.4.1 | ≥ 26.0.0-beta.1, < 26.0.0-beta.13
Electronjs1 product
  • electronEOL< 22.3.9 | ≥ 23.0.0, < 23.3.13 | ≥ 24.0.0, < 24.7.1 | ≥ 25.0.0, < 25.5.0 | 26.0.0:alpha1 | 26.0.0:alpha2 | 26.0.0:alpha3 | 26.0.0:alpha4 | 26.0.0:alpha5 | 26.0.0:alpha6 | 26.0.0:alpha7 | 26.0.0:alpha8 | 26.0.0:beta1 | 26.0.0:beta10 | 26.0.0:beta11 | 26.0.0:beta12 | 26.0.0:beta2 | 26.0.0:beta3 | 26.0.0:beta4 | 26.0.0:beta5 | 26.0.0:beta6 | 26.0.0:beta7 | 26.0.0:beta8 | 26.0.0:beta9
Npm1 product
  • electron< 22.3.19 | ≥ 23.0.0-alpha.1, < 23.3.13 | ≥ 24.0.0-alpha.1, < 24.7.1 | ≥ 25.0.0-alpha.1, < 25.5.0 | ≥ 26.0.0-alpha.1, < 26.0.0-beta.13

3 vendors · 3 products

References

3 links