{"id":"GHSA-4p4r-m79c-wq3v","revision":"3e57f8504a1c4dd59cd0b0110d73f354","records":[{"revision":"3e57f8504a1c4dd59cd0b0110d73f354","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-4p4r-m79c-wq3v","aliases":["CVE-2026-34767"],"title":"Electron: HTTP Response Header Injection in custom protocol handlers and webRequest","description":"### Impact\nApps 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.\n\nAn 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.\n\nApps that do not reflect external input into response headers are not affected.\n\n### Workarounds\nValidate or sanitize any untrusted input before including it in a response header name or value.\n\n### Fixed Versions\n* `41.0.3`\n* `40.8.3`\n* `39.8.3`\n* `38.8.6`\n\n### For more information\nIf there are any questions or comments about this advisory, send an email to [security@electronjs.org](mailto:security@electronjs.org)","state":0,"publishedAt":"2026-04-03T02:37:24+00:00","modifiedAt":"2026-04-06T23:21:01.480605+00:00","affected":[{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"38.8.6"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"39.0.0-alpha.1"},{"kind":"fixed","version":"39.8.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"40.0.0-alpha.1"},{"kind":"fixed","version":"40.8.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"41.0.0-alpha.1"},{"kind":"fixed","version":"41.0.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-4p4r-m79c-wq3v","https://nvd.nist.gov/vuln/detail/CVE-2026-34767","https://github.com/electron/electron"],"sourceUrl":"https://github.com/advisories/GHSA-4p4r-m79c-wq3v","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-4p4r-m79c-wq3v","identifiers":["GHSA-4p4r-m79c-wq3v","CVE-2026-34767"]},"retained":false,"historicalAffected":[]}],"coverage":[]}