{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*",
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "38.8.6"
              },
              {
                "introduced": "39.0.0"
              },
              {
                "fixed": "39.8.3"
              },
              {
                "introduced": "40.0.0"
              },
              {
                "fixed": "40.8.3"
              },
              {
                "introduced": "41.0.0"
              },
              {
                "fixed": "41.0.3"
              }
            ],
            "source": "CPE_RANGE"
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "fbc489c43be82f0fc331560ae678a39aeaea38c8"
            },
            {
              "introduced": "0abda746eabbca48066f7425c5db5dba53bb37f5"
            },
            {
              "fixed": "e6928c13198c854aa014c319d72eea599e2e0ee7"
            },
            {
              "introduced": "35b8855913a75fbb6ee8b1465388c033535da634"
            },
            {
              "fixed": "e094b3939edf4135d3907968f7ec5179f5f46b93"
            },
            {
              "introduced": "3678edfa37648d832078c9430275e96f8b3afde1"
            },
            {
              "fixed": "44bc2c8cef90c347c07060d6c9080bbe0f351dfb"
            }
          ],
          "repo": "https://github.com/electron/electron",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-4p4r-m79c-wq3v"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-113",
      "CWE-74"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34767.json"
  },
  "details": "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.",
  "id": "CVE-2026-34767",
  "modified": "2026-07-08T05:37:57.686198783Z",
  "published": "2026-04-03T23:43:09.327Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34767.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/electron/electron/security/advisories/GHSA-4p4r-m79c-wq3v"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-34767"
    }
  ],
  "schema_version": "1.7.5",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Electron: HTTP Response Header Injection in custom protocol handlers and webRequest"
}