{"id":"CVE-2026-70604","revision":"ad206b8dab724b72a2a0f6346b0610a3","records":[{"revision":"ad206b8dab724b72a2a0f6346b0610a3","observedAt":"2026-10-23T15:48:27.903+00:00","statement":{"source":"cve-program","id":"CVE-2026-70604","aliases":[],"title":"Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads","description":"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.","state":0,"publishedAt":"2026-08-05T15:59:24.043+00:00","modifiedAt":"2026-08-05T18:41:32.481+00:00","affected":[{"ecosystem":"Vendor product","name":"electron","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"electron\",\n                    \"product\": \"electron\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 39.8.10\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 40.0.0-alpha.1, < 40.9.3\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 41.0.0-alpha.1, < 41.4.0\",\n                            \"status\": \"affected\"\n                        },\n                        {\n                            \"version\": \">= 42.0.0-alpha.1, < 42.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-70604","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-70604","identifiers":["CVE-2026-70604"]},"retained":false,"historicalAffected":[]}],"coverage":[]}