6.1medium
Electron is vulnerable to Code Injection via resource modification
- Severity
- 6.1medium CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.31% (higher than 25% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-vmqv-hx8q-j7mg
Description
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions below 35.7.5, 36.0.0-alpha.1 through 36.8.0, 37.0.0-alpha.1 through 37.3.1 and 38.0.0-alpha.1 through 38.0.0-beta.6, ASAR Integrity Bypass via resource modification. This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted. This issue is fixed in versions 35.7.5, 36.8.1, 37.3.1 and 38.0.0-beta.6.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| electron electron | < 35.7.5, >= 36.0.0-alpha.1, < 36.8.1, >= 37.0.0-alpha.1, < 37.3.1, >= 38.0.0-alpha.1, < 38.0.0-beta.6 | CVE List |
| electron (npm) | before 35.7.5, from 36.0.0-alpha.1 before 36.8.1, from 37.0.0-alpha.1 before 37.3.1, from 38.0.0-alpha.1 before 38.0.0-beta.6 | GitHub Advisory Database |
All scores
| GitHub_M | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
| GitHub | 6.1medium CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
Classification
What each source says
CVE List
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. In versions below 35.7.5, 36.0.0-alpha.1 through 36.8.0, 37.0.0-alpha.1 through 37.3.1 and 38.0.0-alpha.1 through 38.0.0-beta.6, ASAR Integrity Bypass via resource modification. This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted. This issue is fixed in versions 35.7.5, 36.8.1, 37.3.1 and 38.0.0-beta.6.
GitHub Advisory Database
Impact
This only impacts apps that have the embeddedAsarIntegrityValidation and onlyLoadAppFromAsar fuses enabled. Apps without these fuses enabled are not impacted.
Specifically this issue can only be exploited if your app is launched from a filesystem the attacker has write access too. i.e. the ability to edit files inside the resources folder in your app installation on Windows which these fuses are supposed to protect against.
Workarounds
There are no app side workarounds, you must update to a patched version of Electron.
Fixed Versions
38.0.0-beta.637.3.136.8.135.7.5
For more information
If you have any questions or comments about this advisory, email us at security@electronjs.org
NVD (es)
Electron es un framework para escribir aplicaciones de escritorio multiplataforma usando JavaScript, HTML y CSS. En versiones anteriores a 35.7.5, 36.0.0-alpha.1 hasta 36.8.0, 37.0.0-alpha.1 hasta 37.3.1 y 38.0.0-alpha.1 hasta 38.0.0-beta.6, Omisión de la Integridad de ASAR mediante modificación de recursos. Esto solo afecta a las aplicaciones que tienen las fusibles embeddedAsarIntegrityValidation y onlyLoadAppFromAsar habilitados. Las aplicaciones sin estos fusibles habilitados no se ven afectadas. Este problema está solucionado en las versiones 35.7.5, 36.8.1, 37.3.1 y 38.0.0-beta.6.
References
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-55305 changed 2025-09-05 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-vmqv-hx8q-j7mg changed 2025-09-05 | CC-BY-4.0 |
| NVD | CVE-2025-55305 changed 2026-10-19 | Public domain |