CVE-2023-39956

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.
Code Injection
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTNIST
6.1 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
GitHub_MCNA
6.1 MEDIUM
LOCAL
LOW
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
CVEADP
---
---
CISA-ADPADP
---
---
Base Score
CVSS 3.x
EPSS Score
Percentile: 5%
VendorProductVersion
electronjselectron
𝑥
< 22.3.9
electronjselectron
23.0.0 ≤
𝑥
< 23.3.13
electronjselectron
24.0.0 ≤
𝑥
< 24.7.1
electronjselectron
25.0.0 ≤
𝑥
< 25.5.0
electronjselectron
26.0.0:alpha1
electronjselectron
26.0.0:alpha2
electronjselectron
26.0.0:alpha3
electronjselectron
26.0.0:alpha4
electronjselectron
26.0.0:alpha5
electronjselectron
26.0.0:alpha6
electronjselectron
26.0.0:alpha7
electronjselectron
26.0.0:alpha8
electronjselectron
26.0.0:beta1
electronjselectron
26.0.0:beta10
electronjselectron
26.0.0:beta11
electronjselectron
26.0.0:beta12
electronjselectron
26.0.0:beta2
electronjselectron
26.0.0:beta3
electronjselectron
26.0.0:beta4
electronjselectron
26.0.0:beta5
electronjselectron
26.0.0:beta6
electronjselectron
26.0.0:beta7
electronjselectron
26.0.0:beta8
electronjselectron
26.0.0:beta9
𝑥
= Vulnerable software versions