JLSEC-2026-1795: Medium severity julia/electron_jll vulnerability
Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to versions 38.8.6, 39.8.3, 40.8.3, and 41.0.3, apps that register custom protocol handlers via protocol.handle() / protocol.registerSchemesAsPrivileged() or modify response headers via webRequest.onHeadersReceived may be vulnerable to HTTP response header injection if attacker-controlled input is reflected into a response header name or value. An attacker who can influence a header value may be able to inject additional response headers, affecting cookies, content security policy, or cross-origin access controls. Apps that do not reflect external input into response headers are not affected. This issue has been patched in versions 38.8.6, 39.8.3, 40.8.3, and 41.0.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 38.8.6 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 39.8.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 40.8.3 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 41.0.3
Event History
Frequently Asked Questions
Which applications are exposed to this issue?
Only Electron apps that use protocol.handle() or protocol.registerSchemesAsPrivileged(), or that modify response headers with webRequest.onHeadersReceived, and reflect attacker-controlled input into a response header name or value are affected. Apps that do not reflect external input into response headers are not affected.
What does an attacker need to exploit it?
An attacker needs a way to influence data that the application reflects into an HTTP response header name or value. User interaction is required according to the supplied severity vector.
What is the potential impact of successful exploitation?
Injected response headers can affect cookies, Content Security Policy, or cross-origin access controls. The supplied vector indicates integrity impact, with no stated confidentiality or availability impact.
What can be done before updating Electron?
Ensure that externally controlled input is not reflected into response header names or values in custom protocol handlers or webRequest.onHeadersReceived callbacks. This removes the condition described as necessary for the issue.
Which Electron releases include the fix?
The issue is patched in Electron 38.8.6, 39.8.3, 40.8.3, and 41.0.3.