{"id":"CVE-2026-70604","aliases":["GHSA-v3j7-r9gq-3gjw"],"url":"https://o3.security/vulnerability/CVE-2026-70604","summary":"Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads","details":"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.","published":"2026-08-05T15:59:24.043Z","modified":"2026-09-10T08:16:13.887132Z","cvss":{"score":7.4,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"npm","name":"electron","fixedVersion":"42.0.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"41.4.0"},{"ecosystem":"npm","name":"electron","fixedVersion":"40.9.3"},{"ecosystem":"npm","name":"electron","fixedVersion":"39.8.10"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70604.json"},{"type":"ADVISORY","url":"https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70604"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-09-10T08:16:13.887132Z"}}