Origin Validation Error Affecting org.webjars.npm:electron package, versions [,42.11.3)[43.0.0-alpha.1,43.7.0)[44.0.0-alpha.1,44.3.0)[45.0.0-alpha.1,45.0.0-alpha.5)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.24% (15th 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-JAVA-ORGWEBJARSNPM-21431564
  • published24 Oct 2026
  • disclosed21 Oct 2026
  • creditUnknown

Introduced: 21 Oct 2026

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

How to fix?

Upgrade org.webjars.npm:electron to version 42.11.3, 43.7.0, 44.3.0, 45.0.0-alpha.5 or higher.

Overview

org.webjars.npm: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 ElectronHidDelegate and ElectronUsbDelegate, which performed HID and USB permission checks with a null frame and the top-level document's origin instead of the requesting subframe's origin. When a cross-origin iframe requests a HID or USB device, session.setPermissionCheckHandler receives the top-level origin, no requestingUrl, isMainFrame: false, and a null webContents, causing origin-based permission logic to evaluate the wrong principal. An attacker controlling a cross-origin subframe embedded in a page that grants HID or USB access can bypass the intended per-frame permission check and gain device access that should be denied.

Note: This is only exploitable if setPermissionCheckHandler is used with origin-based logic for hid or usb and cross-origin iframes are embedded with allow="hid" or allow="usb".

CVSS Base Scores

version 4.0
version 3.1