Electron is vulnerable to Code Injection via resource modification
Summary
| CVE | CVE-2025-55305 |
|---|---|
| State | PUBLISHED |
| Assigner | GitHub_M |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2025-09-04 23:15:33 UTC |
| Updated | 2026-10-19 17:10:00 UTC |
| 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. |
Risk And Classification
Primary CVSS: v3.1 6.1 MEDIUM from [email protected]
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
EPSS: 0.002760000 probability, percentile 0.188440000 (date 2026-10-19)
Problem Types: CWE-94 | CWE-829 | CWE-94 CWE-94: Improper Control of Generation of Code ('Code Injection') | CWE-829 CWE-829: Inclusion of Functionality from Untrusted Control Sphere
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 3.1 | [email protected] | Secondary | 6.1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
| 3.1 | CNA | DECLARED | 6.1 | MEDIUM | CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L |
CVSS v3.1 Breakdown
Attack Vector
LocalAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
HighAvailability
LowCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Electron | Electron | affected < 35.7.5 | Not specified |
| CNA | Electron | Electron | affected >= 36.0.0-alpha.1, < 36.8.1 | Not specified |
| CNA | Electron | Electron | affected >= 37.0.0-alpha.1, < 37.3.1 | Not specified |
| CNA | Electron | Electron | affected >= 38.0.0-alpha.1, < 38.0.0-beta.6 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f... | [email protected] | github.com | |
| github.com/electron/electron/pull/48101 | [email protected] | github.com | |
| github.com/electron/electron/pull/48104 | [email protected] | github.com | |
| github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e30... | [email protected] | github.com | |
| github.com/electron/electron/pull/48103 | [email protected] | github.com | |
| github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4... | [email protected] | github.com | |
| github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77... | [email protected] | github.com | |
| github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg | [email protected] | github.com | |
| github.com/electron/electron/pull/48102 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
There are currently no legacy QID mappings associated with this CVE.