{"id":"CVE-2026-34767","published":"2026-04-03T23:43:09Z","modified":"2026-04-06T19:07:57Z","title":"Electron: HTTP Response Header Injection in custom protocol handlers and webRequest","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.9,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0022,"percentile":0.12785,"provenance":"source"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-4p4r-m79c-wq3v","tags":["x_refsource_CONFIRM"]}],"priority":{"score":6.7,"factors":[{"name":"EPSS percentile","points":2.56},{"name":"CVSS severity","points":4.13}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 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"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-04-06T19:07:46.602540Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":["<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"],"patched":["38.8.6","39.8.3","40.8.3","41.0.3"],"from":["GHSA-4p4r-m79c-wq3v"],"provenance":"source"}],"summary":{"text":"HTTP response header injection exists in Electron's custom protocol handlers (protocol.handle() and protocol.registerSchemesAsPrivileged()) and in webRequest.onHeadersReceived response header modification. An attacker who can influence a header value, but only in apps that reflect external input into response header names or values, can inject additional response headers that may affect cookies, content security policy, or cross-origin access controls, and this requires user interaction and a network-reachable path.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:53Z"},"euvd":{"id":"EUVD-2026-18933","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-34775","published":"2026-04-03","fixed":"41.0.0","kev":false,"link":{"from":"CVE-2026-34767","to":"CVE-2026-34775","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"39.8.3","toFixed":"39.8.4","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"40.8.3","toFixed":"40.8.4","daysApart":0}]}},{"cve":"CVE-2026-34776","published":"2026-04-03","fixed":"41.0.0","kev":false},{"cve":"CVE-2026-34777","published":"2026-04-03","fixed":"41.0.0","kev":false},{"cve":"CVE-2026-34778","published":"2026-04-03","fixed":"41.0.0","kev":false},{"cve":"CVE-2026-34767","published":"2026-04-03","fixed":"41.0.3","kev":false},{"cve":"CVE-2026-34764","published":"2026-04-06","fixed":"42.0.0-alpha.5","kev":false,"link":{"from":"CVE-2026-34767","to":"CVE-2026-34764","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"41.0.3","toFixed":"41.1.0","daysApart":3}]}},{"cve":"CVE-2026-34765","published":"2026-04-07","fixed":"42.0.0-alpha.5","kev":false,"link":{"from":"CVE-2026-34767","to":"CVE-2026-34765","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"41.0.3","toFixed":"41.1.0","daysApart":4}]}},{"cve":"CVE-2026-34781","published":"2026-04-07","fixed":"42.0.0-alpha.5","kev":false,"link":{"from":"CVE-2026-34767","to":"CVE-2026-34781","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"41.0.3","toFixed":"41.1.0","daysApart":4}]}}],"package":"npm:electron"}}