Intel

AIKIDO-2026-985537

electron is vulnerable to Improper Privilege Management

Improper Privilege ManagementGHSA-9qh4-3jw8-366w Published 3 days ago

83

High Risk

This Affects:

JSelectron
1.0.0 - 41.10.5
Fixed in 41.10.6
42.0.0 - 42.9.1
Fixed in 42.9.2
43.0.0 - 43.4.0
Fixed in 43.4.1
Are you affected? Scan for Free

TL;DR

A <webview> tag can enable Node.js integration inside its Web Workers even when the embedding app disabled Node.js integration for that guest. Guest content loaded in the <webview> gains more privilege than the embedder configured, exposing Node.js APIs to workers spawned from untrusted content. This affects apps that enable the <webview> tag with an unsandboxed embedder. The fix propagates the embedder's Node.js integration restriction to Web Workers spawned inside the guest.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you enable the <webview> tag with an unsandboxed embedder.

Background info

electron is vulnerable to Improper Privilege Management in versions 1.0.0 - 41.10.5, 42.0.0 - 42.9.1 and 43.0.0 - 43.4.0.

How to fix this

Upgrade the electron library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform