Security mailing lists by PureSourceCode

CVE-2026-34767

MEDIUM 6.5CVSS 3.1

Electron: HTTP Response Header Injection in custom protocol handlers and webRequest

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.

Published
4 Apr 2026
Last modified
24 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-113CWE-74
Also known as
GHSA-4p4r-m79c-wq3v
Sources
NVDJSONOSV GHSA-4p4r-m79c-wq3vJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
< 38.8.6 38.8.6
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
>= 39.0.0, < 39.8.3 39.8.3
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
>= 40.0.0, < 40.8.3 40.8.3
NVD electronjs electron
cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
>= 41.0.0, < 41.0.3 41.0.3
OSV npm electron < 38.8.6 38.8.6
OSV npm electron >= 39.0.0-alpha.1, < 39.8.3 39.8.3
OSV npm electron >= 40.0.0-alpha.1, < 40.8.3 40.8.3
OSV npm electron >= 41.0.0-alpha.1, < 41.0.3 41.0.3

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 4 Apr 2026)
  • 25 Nov 2026 20:10 UTC · OSV: first stored (published 3 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.