{"id":"CVE-2026-70604","title":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS","summary":"Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.3, 41.4.0, and 42.0.0, a custom scheme registered with supportFetchAPI: true but without corsEnabled: true was…","severity":"high","cvss":7.4,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","cwe":["CWE-942"],"vendor":"electron","product":"electron","affected":["electron >= 42.0.0-alpha.1, < 42.0.0","electron >= 41.0.0-alpha.1, < 41.4.0","electron >= 40.0.0-alpha.1, < 40.9.3","electron < 39.8.10"],"patched":["electron 42.0.0","electron 41.4.0","electron 40.9.3","electron 39.8.10"],"published":"2026-08-05","updated":"2026-09-08","sourceUpdated":"2026-09-08T20:44:08.253","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-70604","references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw","label":"security-advisories@github.com"},{"url":"https://github.com/advisories/GHSA-v3j7-r9gq-3gjw"}],"tags":["nvd","ghsa","npm"],"epss":0.00281,"epssPercentile":0.2083,"aliases":["GHSA-v3j7-r9gq-3gjw"],"ecosystem":"npm","ingestedAt":"2026-08-05T16:49:29.284Z","slug":"CVE-2026-70604","body":"## Overview\n\nElectron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. Prior to 39.8.10, 40.9.3, 41.4.0, and 42.0.0, a custom scheme registered with supportFetchAPI: true but without corsEnabled: true was not subject to CORS enforcement. A page loaded from a remote origin could therefore fetch() or XMLHttpRequest that scheme cross-origin and read the full response body, rather than the read being blocked. Apps that serve sensitive data from such a scheme and load remote or untrusted content in a renderer are affected. This issue is fixed in versions 39.8.10, 40.9.3, 41.4.0, and 42.0.0.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.\n\n## Package advisory (CVE-2026-70604)\n\nAffected packages:\n\n- `electron >= 42.0.0-alpha.1, < 42.0.0`\n- `electron >= 41.0.0-alpha.1, < 41.4.0`\n- `electron >= 40.0.0-alpha.1, < 40.9.3`\n- `electron < 39.8.10`\n\nPatched in:\n\n- `electron 42.0.0`\n- `electron 41.4.0`\n- `electron 40.9.3`\n- `electron 39.8.10`\n\nSource: https://github.com/advisories/GHSA-v3j7-r9gq-3gjw","depth":"twilight","depthScore":41,"depthScoreParts":{"impact":40.7,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}