cve.bz

CVE-2025-55305 electron electron: Code Injection

6.1 mediumEPSS 0.3%Fix available

Medium (6.1) in electron electron. EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in electron 35.7.5, 36.8.1, 37.3.1.

On this page
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.

Severity

CVSS 3.1

6.1 medium
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 24th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-09-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-94 Improper Control of Generation of Code (Code Injection)
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A05:2025 Injection, A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Deferred: the NVD does not plan to analyze it
Record from
the NVD, synced

Fix and patched versions

  • electron (npm): fixed in 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6

Ask an AI about this CVE

Show the promptExplain CVE-2025-55305 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-55305?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-55305?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-55305 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
electron< 35.7.5
electron>= 36.0.0-alpha.1, < 36.8.1
electron>= 37.0.0-alpha.1, < 37.3.1
electron>= 38.0.0-alpha.1, < 38.0.0-beta.6

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-vmqv-hx8q-j7mgnpmelectron<35.7.535.7.5
GHSA-vmqv-hx8q-j7mgnpmelectron>=36.0.0-alpha.1 <36.8.136.8.1
GHSA-vmqv-hx8q-j7mgnpmelectron>=37.0.0-alpha.1 <37.3.137.3.1
GHSA-vmqv-hx8q-j7mgnpmelectron>=38.0.0-alpha.1 <38.0.0-beta.638.0.0-beta.6

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This vulnerability is rated Moderate as it requires specific conditions for exploitation: the application must have the `embeddedAsarIntegrityValidation` and `onlyLoadAppFromAsar` fuses enabled, and the attacker must already have local write access to the application’s installation directory.

Red Hat's mitigation

No mitigation is currently available that meets Red Hat Product Security's standards for usability, deployment, applicability, or stability.

ProductPackageStateAdvisory
Red Hat OpenShift Dev Spacesdevspaces/code-rhel9Fix deferred
Red Hat OpenShift Dev Spacesdevspaces-tech-preview/idea-rhel9Fix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2025-55305.

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON