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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"electronjs:electron": [
"< 38.8.6",
">= 39.0.0, < 39.8.3",
">= 40.0.0, < 40.8.3",
">= 41.0.0, < 41.0.3"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34767",
"id": "CVE-2026-34767",
"imported": "2026-11-21T06:56:03.666Z",
"modified": "2026-07-24T22:10:00.140Z",
"published": "2026-04-04T00:16:17.337Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-34767"
},
{
"affected": {
"electronjs:electron": [
"< 38.8.6",
">= 39.0.0-alpha.1, < 39.8.3",
">= 40.0.0-alpha.1, < 40.8.3",
">= 41.0.0-alpha.1, < 41.0.3"
]
},
"fields": [
"affected"
],
"html_url": "https://github.com/electron/electron/security/advisories/GHSA-4p4r-m79c-wq3v",
"id": "GHSA-4p4r-m79c-wq3v",
"imported": "2026-11-21T06:56:03.666Z",
"modified": "2026-04-02T19:14:35Z",
"published": "2026-04-02T19:14:35Z",
"url": "https://api.github.com/repos/electron/electron/security-advisories/GHSA-4p4r-m79c-wq3v"
}
]
}