{"id":"CVE-2026-70604","published":"2026-08-05T15:59:24Z","modified":"2026-08-05T18:41:32Z","title":"Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads","vendor":"electron","product":"electron","tier":"tail","description":{"text":"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 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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00354,"percentile":0.2995,"provenance":"source"},"cwes":[{"id":"CWE-942","name":"Permissive Cross-domain Security Policy with Untrusted Domains"}],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw","tags":["x_refsource_CONFIRM"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":5.99},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"electron","affectedVersions":[{"vendor":"electron","product":"electron","versions":["< 39.8.10",">= 40.0.0-alpha.1, < 40.9.3",">= 41.0.0-alpha.1, < 41.4.0",">= 42.0.0-alpha.1, < 42.0.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-08-05T18:13:52.321211Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"electron","vulnerableRanges":[">=42.0.0-alpha.1, <42.0.0",">=41.0.0-alpha.1, <41.4.0",">=40.0.0-alpha.1, <40.9.3","<39.8.10"],"patched":["42.0.0","41.4.0","40.9.3","39.8.10"],"from":["GHSA-v3j7-r9gq-3gjw"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-53440","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2026-70612","published":"2026-08-05","fixed":"42.0.0-beta.3","kev":false},{"cve":"CVE-2026-70610","published":"2026-08-05","fixed":"42.0.0-beta.4","kev":false},{"cve":"CVE-2026-70601","published":"2026-08-05","fixed":"42.0.0-beta.5","kev":false,"link":{"from":"CVE-2026-70601","to":"CVE-2026-70604","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.0.0-beta.5","toFixed":"42.0.0","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"40.9.2","toFixed":"40.9.3","daysApart":0}]}},{"cve":"CVE-2026-70604","published":"2026-08-05","fixed":"42.0.0","kev":false},{"cve":"CVE-2026-70608","published":"2026-08-05","fixed":"42.0.1","kev":false,"link":{"from":"CVE-2026-70604","to":"CVE-2026-70608","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"42.0.0","toFixed":"42.0.1","daysApart":0}]}},{"cve":"CVE-2026-54257","published":"2026-06-23","fixed":"42.3.3","kev":false},{"cve":"CVE-2026-102673","published":"2026-09-29","fixed":"43.0.0","kev":false},{"cve":"CVE-2026-70606","published":"2026-08-05","fixed":"43.0.0","kev":false,"link":{"from":"CVE-2026-70604","to":"CVE-2026-70606","relation":"successor","confidence":"low","kind":"sequence","orderedBy":"description","evidence":[{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"40.9.3","toFixed":"40.10.6","daysApart":0},{"kind":"version-step","provenance":"source","package":"npm:electron","fromFixed":"41.4.0","toFixed":"41.9.1","daysApart":0}]}}],"package":"npm:electron"}}