{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-70604","id":"CVE-2026-70604","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 ","descriptionLong":"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","updated":"2026-10-28T02:31:11.532703316Z","reserved":"2026-08-04T19:50:27.328Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub_M"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"github.com"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"OSV"},{"version":"3.1","score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","rating":"high","source":"GitHub"}],"rating":"high","products":["electron"],"affectedProducts":[{"vendor":"electron","product":"electron","defaultStatus":null,"versions":[{"version":"< 39.8.10","status":"affected"},{"version":">= 40.0.0-alpha.1, < 40.9.3","status":"affected"},{"version":">= 41.0.0-alpha.1, < 41.4.0","status":"affected"},{"version":">= 42.0.0-alpha.1, < 42.0.0","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"electron","purl":"pkg:npm/electron","ranges":[">=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"],"fixed":["42.0.0","41.4.0","40.9.3","39.8.10"],"advisory":"GHSA-v3j7-r9gq-3gjw"}],"cwes":["CWE-942"],"aliases":["GHSA-v3j7-r9gq-3gjw"],"references":[{"url":"https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/70xxx/CVE-2026-70604.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70604","tags":["advisory"]},{"url":"https://github.com/electron/electron","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00354,"epssPercentile":0.2971,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-70604","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-70604","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-70604","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-v3j7-r9gq-3gjw","ok":true,"note":"GHSA-v3j7-r9gq-3gjw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-70604","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}