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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** MEDIUM 6.1
- **CVSS:** 6.1 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: Required; Scope: Unchanged; Confidentiality impact: Low; Integrity impact: High; Availability impact: Low
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.30% (percentile 15, 2026-11-26)
- **CWE:** CWE-94, CWE-829
- **Aliases:** GHSA-vmqv-hx8q-j7mg
- **Published:** 2025-09-03T21:27:37.000Z
- **Modified:** 2026-10-19T17:10:00.173Z

## Who should check

- Projects that depend on npm package electron (\< 35.7.5)
- Anyone running 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

## 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 and fixed versions

- npm `electron`: affected \< 35.7.5; fixed 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6 (osv)
- 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 (cvelist)

## Mitigation

- Upgrade electron to one of 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6 (or later in the same release line).

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-55305. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-55305.md
Affected: electron < 35.7.5
Fixed in: 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6

Steps:
1. Search this machine and project for electron (npm), electron: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-55305 being exploited?

There is no confirmed exploitation: CVE-2025-55305 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.30% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-55305?

Medium: CVSS 6.1 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2025-55305?

electron \< 35.7.5.

### Is there a fix for CVE-2025-55305?

Yes. Fixed in 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6. Upgrade electron to one of 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6 (or later in the same release line).

### How do I check if I'm affected by CVE-2025-55305?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2025-55305>
- patch: <https://github.com/electron/electron/pull/48101>
- patch: <https://github.com/electron/electron/pull/48102>
- patch: <https://github.com/electron/electron/pull/48103>
- patch: <https://github.com/electron/electron/pull/48104>
- patch: <https://github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b>
- patch: <https://github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1>
- patch: <https://github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d>
- patch: <https://github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee>
- other: <https://github.com/electron/electron>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-55305>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-vmqv-hx8q-j7mg> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2025-55305> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-55305>
