Origin Validation Error Affecting electron package, versions >=45.0.0-alpha.1 <45.0.0-alpha.5>=44.0.0-alpha.1 <44.3.0>=43.0.0-alpha.1 <43.7.0<42.11.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.18% (8th 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-JS-ELECTRON-21431575
  • published22 Oct 2026
  • disclosed22 Oct 2026
  • creditBn omran

Introduced: 22 Oct 2026

NewCVE-2026-114121  (opens in a new tab)
CWE-346  (opens in a new tab)

How to fix?

Upgrade electron to version 45.0.0-alpha.5, 44.3.0, 43.7.0, 42.11.3 or higher.

Overview

electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

Affected versions of this package are vulnerable to Origin Validation Error via incorrect attribution of the requesting origin in HandleExternalProtocolInUI when handling openExternal permission requests. When a navigation to an external protocol involves a detached initiator frame or a server-side redirect, the requestingUrl reported to the permission manager is taken from the navigating WebContents' committed URL rather than the actual initiating or redirecting origin. An attacker who controls untrusted content can trigger an openExternal navigation such that the permission check is evaluated against a trusted origin the attacker does not control, bypassing origin-based openExternal restrictions.

Note: Apps are only affected if they grant openExternal based on the requesting origin and allow untrusted content to open or navigate windows.

CVSS Base Scores

version 4.0
version 3.1