Permissive Cross-domain Policy with Untrusted Domains The advisory has been revoked - it doesn't affect any version of package electron/electron  (opens in a new tab)


Threat Intelligence

EPSS
0.35% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-ELECTRONELECTRON-18563321
  • published6 Aug 2026
  • disclosed5 Aug 2026
  • creditUnknown

Introduced: 5 Aug 2026

CVE-2026-70604  (opens in a new tab)
CWE-942  (opens in a new tab)

How to fix?

Upgrade electron/electron to version 39.8.10, 40.9.3, 41.4.0, 42.0.0 or higher.

Amendment

This was deemed not a vulnerability.

Overview

Affected versions of this package are vulnerable to Permissive Cross-domain Policy with Untrusted Domains via the custom protocol handler when supportFetchAPI is enabled but corsEnabled is not set. An attacker can access sensitive data from a custom scheme by performing cross-origin requests from a remote origin.

Note: This is only exploitable if an application registers a custom scheme with supportFetchAPI: true and corsEnabled: false, and loads remote or untrusted content in a renderer.

Workaround

This vulnerability can be mitigated by setting corsEnabled: true on custom schemes and validating the request Origin in the protocol handler before returning sensitive data.