For your digest
electron: Electron vulnerable to out-of-package code execution when launched with arbitrary cwd
It touches something Phylax follows. No evidence of use yet.
Does it affect what I run?
electron (npm)
Checked in your browser. The version you type is not sent anywhere.
Who is affected
- electron (npm): every version, before 22.3.19
- electron (npm): from 23.0.0-alpha.1, before 23.3.13
- electron (npm): from 24.0.0-alpha.1, before 24.7.1
- electron (npm): from 25.0.0-alpha.1, before 25.5.0
- electron (npm): from 26.0.0-alpha.1, before 26.0.0-beta.13
The fix
electron (npm) fixed in 22.3.19
npmnpm install electron@22.3.19pnpmpnpm add electron@22.3.19yarnyarn add electron@22.3.19bunbun add electron@22.3.19Check what is installednpm ls electronPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency electron to 22.3.19 or the nearest later release, to fix CVE-2023-39956. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.electron (npm) fixed in 23.3.13
npmnpm install electron@23.3.13pnpmpnpm add electron@23.3.13yarnyarn add electron@23.3.13bunbun add electron@23.3.13Check what is installednpm ls electronPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency electron to 23.3.13 or the nearest later release, to fix CVE-2023-39956. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.electron (npm) fixed in 24.7.1
npmnpm install electron@24.7.1pnpmpnpm add electron@24.7.1yarnyarn add electron@24.7.1bunbun add electron@24.7.1Check what is installednpm ls electronPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency electron to 24.7.1 or the nearest later release, to fix CVE-2023-39956. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.electron (npm) fixed in 25.5.0
npmnpm install electron@25.5.0pnpmpnpm add electron@25.5.0yarnyarn add electron@25.5.0bunbun add electron@25.5.0Check what is installednpm ls electronPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency electron to 25.5.0 or the nearest later release, to fix CVE-2023-39956. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.electron (npm) fixed in 26.0.0-beta.13
npmnpm install electron@26.0.0-beta.13pnpmpnpm add electron@26.0.0-beta.13yarnyarn add electron@26.0.0-beta.13bunbun add electron@26.0.0-beta.13Check what is installednpm ls electronPaste into Cursor, Lovable or Claude CodeUpgrade the npm dependency electron to 26.0.0-beta.13 or the nearest later release, to fix CVE-2023-39956. Change only what the upgrade needs: the manifest, the lockfile, and any code that breaks because of it. Do not change anything else and do not run commands unrelated to this upgrade. Then run the tests, tell me what changed, and show me the diff before committing.
Fix commands generated from the advisory's versions. No model wrote them.
In plain words
Brief pending: here are the facts and the fix. The explanation in plain words follows when it has been written and checked.
Evidence
No evidence that it is being used, or can be. It is listed because of what it affects.
Timeline
- First published here, as "For your digest".