6.5

CVE-2026-34767: Electron: HTTP Response Header Injection in custom protocol handlers and webRequest

Analyzed
AliasesGHSA-4p4r-m79c-wq3v
Published 03-04-2026Last modified 06-04-2026

Vulnerability summary

CVE-2026-34767 is a medium (CVSS 6.5) vulnerability in electron. EPSS estimates a 0.24% chance of exploitation in the next 30 days, higher than 16% of scored vulnerabilities.

Priority
Routine

Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.1 (NVD)
EPSS score
0.24%
0%100%
Low · +0.02 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Timeline

  1. 03-04-2026
    PublishedVulnerability first disclosed.
  2. 06-04-2026
    Last modifiedVulnerability information updated.

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.

CVSS metrics

3 scores · 3 sources · 1 version

EPSS trend

Probability

0.24%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

Increase +0.02 pp

From 0.21% on 04-11-2026

04-11-202604-12-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.

Electron1 product
  • 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
Electronjs1 product
  • electron< 38.8.6 | ≥ 39.0.0, < 39.8.3 | ≥ 40.0.0, < 40.8.3 | ≥ 41.0.0, < 41.0.3
Npm1 product
  • 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

3 vendors · 3 products

References

3 links