{"id":"CVE-2026-70604","revision":null,"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":[]},{"revision":"7af785760c9d451683da59d6ac8ae911","observedAt":"2026-11-09T15:06:43.183+00:00","statement":{"source":"euvd","id":"EUVD-2026-53440","aliases":["CVE-2026-70604","GHSA-v3j7-r9gq-3gjw"],"title":"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 no…","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":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD 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":null}],"references":["https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-53440","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Aug 5, 2026, 3:59:24 PM","dateUpdated":"Aug 5, 2026, 6:41:32 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-53440","identifiers":["EUVD-2026-53440","CVE-2026-70604","GHSA-v3j7-r9gq-3gjw"]},"retained":false,"historicalAffected":[]},{"revision":"886b6f47003141308263494f9c6f29bb","observedAt":"2026-10-25T15:18:57.446+00:00","statement":{"source":"nvd","id":"CVE-2026-70604","aliases":[],"title":"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 no…","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-05T16:17:04.617+00:00","modifiedAt":"2026-10-08T13:53:51.593+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","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://nvd.nist.gov/vuln/detail/CVE-2026-70604","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Analyzed","weaknesses":["CWE-942"],"productCriteria":["cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:alpha1:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:alpha2:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:alpha3:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:alpha4:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:alpha5:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:alpha6:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta1:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta2:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta3:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta4:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta5:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta6:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta7:*:*:*:node.js:*:*","cpe:2.3:a:electronjs:electron:42.0.0:beta8:*:*:*:node.js:*:*"],"sourceDates":{"published":"2026-08-05T16:17:04.617","lastModified":"2026-10-08T13:53:51.593"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-70604","identifiers":["CVE-2026-70604"]},"retained":false,"historicalAffected":[]},{"revision":"97073604142b435fb0ae5110f1139a55","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-v3j7-r9gq-3gjw","aliases":["CVE-2026-70604"],"title":"Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads","description":"### Impact\nA 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.\n\nApps that serve sensitive data from such a scheme and load remote or untrusted content in a renderer are affected. Apps that set `corsEnabled: true`, or that do not load untrusted content, are not affected.\n\n### Workarounds\nSet `corsEnabled: true` on schemes that must enforce CORS, and validate the request `Origin` in your protocol handler before returning sensitive data.\n\n### Fixed Versions\n* `42.0.0`\n* `41.4.0`\n* `40.9.3`\n* `39.8.10`\n\n### For more information\nIf you have any questions or comments about this advisory, email Electron at [security@electronjs.org](mailto:security@electronjs.org)","state":0,"publishedAt":"2026-08-05T15:59:45+00:00","modifiedAt":"2026-08-05T16:26:04.421893+00:00","affected":[{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"42.0.0-alpha.1"},{"kind":"fixed","version":"42.0.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"41.0.0-alpha.1"},{"kind":"fixed","version":"41.4.0"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"40.0.0-alpha.1"},{"kind":"fixed","version":"40.9.3"}]}],"versions":[],"rawVersionEvidence":null},{"ecosystem":"npm","name":"electron","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"39.8.10"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw","https://github.com/electron/electron"],"sourceUrl":"https://github.com/advisories/GHSA-v3j7-r9gq-3gjw","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-v3j7-r9gq-3gjw","identifiers":["GHSA-v3j7-r9gq-3gjw","CVE-2026-70604"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-11T09:26:00.1517867+00:00","complete":true,"records":1779,"lastAttemptAt":"2026-11-11T09:26:00.1517867+00:00","lastSuccessAt":"2026-11-11T09:26:00.3919657+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:26:00.3919664+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-de3b77103708811b6494d2ff7c979037d73ae579742cd1649a5c765137ae5083-f19af5e22c13aa688d23829fe96c281d0deaf6cf2f8cee6748f54f5a479127b2","complete":true,"records":424021,"lastAttemptAt":"2026-11-11T09:25:54.6180937+00:00","lastSuccessAt":"2026-11-11T09:25:54.5258746+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:25:54.6180937+00:00","snapshotPublishedAt":"2026-11-11T09:25:28+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-3a3dffd4138c45f3bab5f38fd8dae5e6","complete":false,"records":13758,"lastAttemptAt":"2026-11-11T09:32:55.9761035+00:00","lastSuccessAt":"2026-11-11T09:32:56.060366+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:32:56.060366+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-11T09:26:00.1517867+00:00","complete":true,"records":1097,"lastAttemptAt":"2026-11-11T09:26:00.1517867+00:00","lastSuccessAt":"2026-11-11T09:26:00.3927797+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:26:00.3927799+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-304fa97221904da4b3dcd306fc4b8a4b","complete":true,"records":13752,"lastAttemptAt":"2026-11-11T09:26:01.4581358+00:00","lastSuccessAt":"2026-11-11T09:26:01.454+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:26:01.454+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13812,"expectedIdentifiers":13812,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-3562b6c78fd1bd0f0b55daf66a0926ae24f65e462df7f6d928caad458fc696bf","complete":true,"records":9947,"lastAttemptAt":"2026-11-11T09:25:54.9948719+00:00","lastSuccessAt":"2026-11-11T04:27:43.6877707+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:25:54.9948719+00:00","snapshotPublishedAt":"2026-11-11T03:32:46+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-456002455e0ab94bb92c95476d4e6d175c104cd594749982afd96c893728ecbc","complete":true,"records":2010,"lastAttemptAt":"2026-11-11T09:25:54.7785287+00:00","lastSuccessAt":"2026-11-11T02:36:58.1276999+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:25:54.7785287+00:00","snapshotPublishedAt":"2026-11-11T01:17:51+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-2bc186fc4a8179fd66d765079d475b0b8e3af9f89b57dcc310e7773ded48b2cc","complete":true,"records":3088,"lastAttemptAt":"2026-11-11T09:26:00.1096189+00:00","lastSuccessAt":"2026-11-11T09:25:59.9234294+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:26:00.1096189+00:00","snapshotPublishedAt":"2026-11-11T09:02:55+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-085e065fc9050ae18408f7e722c39653aeb186872334d7b3ec1fcafb7ed43d25","complete":true,"records":231665,"lastAttemptAt":"2026-11-11T09:25:54.8906223+00:00","lastSuccessAt":"2026-11-11T08:27:45.2700102+00:00","error":null,"lastVerifiedAt":"2026-11-11T09:25:54.8906223+00:00","snapshotPublishedAt":"2026-11-11T07:32:59+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}