JLSEC-2026-1818: Medium severity julia/electron_jll vulnerability
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3, some window options supplied by web content in the window.open() features string were applied to the new BrowserWindow without an allowlist. Untrusted content could set window options it should not control, including options that cause the main process to access attacker-chosen file or network paths, when untrusted content can call window.open() and the app does not override child window options via setWindowOpenHandler or overrideBrowserWindowOptions. This issue is fixed in 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 39.8.8 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 40.9.0 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 41.2.1 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 42.0.0-beta.3
Event History
Frequently Asked Questions
Under what conditions is an application exposed?
Exposure requires untrusted web content to be able to call window.open() and the application not to override child-window options with setWindowOpenHandler or overrideBrowserWindowOptions. Applications that prevent untrusted content from opening windows or explicitly override those options do not meet the described exploitation conditions.
What could an attacker control through this issue?
An attacker could supply window options through the window.open() features string that are applied to a new BrowserWindow without an allowlist. This can include options causing the main process to access attacker-chosen file or network paths.
Which Electron releases contain fixes?
The issue is fixed in Electron 39.8.8, 40.9.0, 41.2.1, and 42.0.0-beta.3.
What can be done before updating?
Override child-window options using setWindowOpenHandler or overrideBrowserWindowOptions. Limiting untrusted content's ability to call window.open() also removes a stated condition for exploitation.