Vulnerability · Published Sep 4, 2025 · Assigned by GitHub_M

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

Medium 6.1

In plain English

A medium-severity code injection in electron from electron. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)6.1Medium
Exploit odds (30 days)0.3%top 78.8% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmelectron35.7.5GHSA-vmqv-hx8q-j7mg
npmelectron36.8.1GHSA-vmqv-hx8q-j7mg
npmelectron37.3.1GHSA-vmqv-hx8q-j7mg
npmelectron38.0.0-beta.6GHSA-vmqv-hx8q-j7mg

Affected products (as reported)

VendorProductVersions
electron 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

Weakness: CWE-94, CWE-829 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L

References