{"schemaVersion":4,"id":"CVE-2026-34767","aliases":["GHSA-4p4r-m79c-wq3v"],"status":"published","duplicateOf":null,"title":"Electron: HTTP Response Header Injection in custom protocol handlers and webRequest","description":"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.","dates":{"published":"2026-04-03T23:43:09.327Z","modified":"2026-04-06T19:07:57.198Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":6.5,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":5.9,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","exploitability":4.1,"impact":7,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":6.5,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00239,"percentile":0.1605,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.02400000000000002,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.00215},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-23T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-24T00:00:00.000Z","score":0.00258,"percentile":null},{"date":"2026-10-25T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-26T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-27T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-28T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-29T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-30T00:00:00.000Z","score":0.00211,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00239,"percentile":0.1605}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.00215,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.0022,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00274,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00307,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00241,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00239,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00239,"percentile":0.1605}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"},{"id":"CWE-113","name":"Improper Neutralization of CRLF Sequences in HTTP Headers","description":"The product receives data from an HTTP agent/component (e.g., web server, proxy, browser, etc.), but it does not neutralize or incorrectly neutralizes CR and LF characters before the data is included in outgoing HTTP headers.","type":"weakness","status":"Incomplete","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/113.html"}],"affected":[{"vendor":"electron","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"38.8.6","endInclusive":false}},{"text":"≥ 39.0.0-alpha.1, < 39.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"39.0.0-alpha.1","startInclusive":true,"end":"39.8.3","endInclusive":false}},{"text":"≥ 40.0.0-alpha.1, < 40.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"40.0.0-alpha.1","startInclusive":true,"end":"40.8.3","endInclusive":false}},{"text":"≥ 41.0.0-alpha.1, < 41.0.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"41.0.0-alpha.1","startInclusive":true,"end":"41.0.3","endInclusive":false}}],"versionsText":"< 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","eol":null,"hubHref":"/vendor/electron/electron"},{"vendor":"electronjs","product":"electron","name":"electron","label":"electron","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"38.8.6","endInclusive":false}},{"text":"≥ 39.0.0, < 39.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"39.0.0","startInclusive":true,"end":"39.8.3","endInclusive":false}},{"text":"≥ 40.0.0, < 40.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"40.0.0","startInclusive":true,"end":"40.8.3","endInclusive":false}},{"text":"≥ 41.0.0, < 41.0.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"41.0.0","startInclusive":true,"end":"41.0.3","endInclusive":false}}],"versionsText":"< 38.8.6 | ≥ 39.0.0, < 39.8.3 | ≥ 40.0.0, < 40.8.3 | ≥ 41.0.0, < 41.0.3","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"electron","label":"Electron","category":"framework"}},"hubHref":"/vendor/electronjs/electron"},{"vendor":"Npm","product":"electron","name":"electron","label":"electron","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/electron","purlType":"npm","versions":[{"text":"< 38.8.6","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"38.8.6","endInclusive":false}},{"text":"≥ 39.0.0-alpha.1, < 39.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"39.0.0-alpha.1","startInclusive":true,"end":"39.8.3","endInclusive":false}},{"text":"≥ 40.0.0-alpha.1, < 40.8.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"40.0.0-alpha.1","startInclusive":true,"end":"40.8.3","endInclusive":false}},{"text":"≥ 41.0.0-alpha.1, < 41.0.3","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"41.0.0-alpha.1","startInclusive":true,"end":"41.0.3","endInclusive":false}}],"versionsText":"< 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","eol":null,"hubHref":null}],"affectedCount":3,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-4p4r-m79c-wq3v","label":"github.com/electron/electron/security/advisories/GHSA-4p4r-m79c-wq3v","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Vendor Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34767","label":"nvd.nist.gov/vuln/detail/CVE-2026-34767","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/electron/electron","label":"github.com/electron/electron","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-04-03T23:43:09.327Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-04-06T19:07:57.198Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,59],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00239,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-04-06T19:07:57.198Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1","headline":true},{"type":"cvss","source":"osv_npm","date":"2026-04-06T19:07:57.198Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","version":"3.1"},{"type":"cvss","source":"nvd","date":"2026-04-06T19:07:57.198Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-04-06T19:07:46.602Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00239,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:49:24.191Z","stale":false,"partial":false}}