Skip to content

CVE-2025-55305 Electron is vulnerable to Code Injection via resource modification

MediumCVSS 6.1 EPSS 0.31%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
npm electron(npm) < 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 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6 Fixed
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 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
npm electron(npm) < 35.7.5 35.7.5
npm electron(npm) >= 36.0.0-alpha.1, < 36.8.1 36.8.1
npm electron(npm) >= 37.0.0-alpha.1, < 37.3.1 37.3.1
npm electron(npm) >= 38.0.0-alpha.1, < 38.0.0-beta.6 38.0.0-beta.6
electron = < 35.7.5 No fix listed
electron = >= 36.0.0-alpha.1, < 36.8.1 No fix listed
electron = >= 37.0.0-alpha.1, < 37.3.1 No fix listed
electron = >= 38.0.0-alpha.1, < 38.0.0-beta.6 No fix listed

References