CVE-2025-55305: Electron is vulnerable to Code Injection via resource modification
Vulnerability summary
CVE-2025-55305 is a medium (CVSS 6.1) Improper Control of Generation of Code vulnerability in electron. EPSS estimates a 0.31% chance of exploitation in the next 30 days, higher than 25.4% of scored vulnerabilities.
Not severe (CVSS 6.1, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 04-09-2025PublishedVulnerability first disclosed.
- 05-09-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
3 scores · 3 sources · 1 version- OSV · NpmEcosystem advisory · calculated6.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
- NVDNIST6.1MediumCVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
EPSS trend
Probability
0.31%
Chance of exploitation in the next 30 days
Percentile
25%
Versus all other CVEs
30-day change
Increase +0.02 pp
From 0.29% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of CodeThe product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.
- CWE-829Inclusion of Functionality from Untrusted Control SphereThe product imports, requires, or includes executable functionality (such as a library) from a source that is outside of the intended control sphere.
Affected systems
Known conditions: local access, low-privilege account, user interaction (CVSS vector). Other conditions: not stated in public data.
Electron1 product
- 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
Npm1 product
- 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
2 vendors · 2 products
References
11 linksShow all 11 references
- github.com/electron/electronPACKAGE