CVE-2025-55305: electron Code Injection
Vulnerability summary
CVE-2025-55305 is a medium (CVSS 6.1) Code Injection vulnerability in electron. EPSS estimates a 0.28% chance of exploitation in the next 30 days, higher than 18.8% of scored vulnerabilities.
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.28%
Chance of exploitation in the next 30 days
Percentile
19%
Versus all other CVEs
30-day change
+0.01 pp
From 0.27% on 20-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root cause- CWE-94Improper Control of Generation of Code ('Code Injection')The 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
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