Electron is vulnerable to Code Injection via resource modification (electron electron)
At a glance
- Source
- NVD
- EPSS
- EPSS 0.28 % Β· percentile 20 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- GitHub_M
- NVD status
- Deferred
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.
Weaknesses (CWE)
- CWE-94 β Improper Control of Generation of Code
- CWE-829 β Inclusion of Functionality from Untrusted Control Sphere
References
- https://github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg
- https://github.com/electron/electron/pull/48101
- https://github.com/electron/electron/pull/48102
- https://github.com/electron/electron/pull/48103
- https://github.com/electron/electron/pull/48104
- https://github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b
- https://github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1
- https://github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d
- https://github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L | GitHub_M |
| CVSS 3.1 | MEDIUM 6.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L | NVD Β· security-advisories@github.com (Secondary) |
Advisories
- GHSA-vmqv-hx8q-j7mg β Electron has ASAR Integrity Bypass via resource modification
European references
- ENISA EUVD Β· EUVD-2025-26873
- GCVE Β· GCVE-0-2025-55305
Affected products
| Product | Versions |
|---|---|
| electron Β· electron | affected < 35.7.5 ; affected >= 36.0.0-alpha.1, < 36.8.1 ; affected >= 37.0.0-alpha.1, < 37.3.1 ; affected >= 38.0.0-alpha.1, < 38.0.0-beta.6 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST β attribution requested |
| ENISA EUVD | ENISA β reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain β this product uses data from the NVD API but is not endorsed or certified by the NVD |