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.
{
"license": "CC-BY-4.0",
"sources": [
{
"affected": {
"electronjs:electron": [
"< 39.8.10",
"= 42.0.0-alpha1+node.js",
"= 42.0.0-alpha2+node.js",
"= 42.0.0-alpha3+node.js",
"= 42.0.0-alpha4+node.js",
"= 42.0.0-alpha5+node.js",
"= 42.0.0-alpha6+node.js",
"= 42.0.0-beta1+node.js",
"= 42.0.0-beta2+node.js",
"= 42.0.0-beta3+node.js",
"= 42.0.0-beta4+node.js",
"= 42.0.0-beta5+node.js",
"= 42.0.0-beta6+node.js",
"= 42.0.0-beta7+node.js",
"= 42.0.0-beta8+node.js",
">= 40.0.0, < 40.9.3",
">= 41.0.0, < 41.4.0"
]
},
"database_specific": {
"status": "Analyzed"
},
"html_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-70604",
"id": "CVE-2026-70604",
"imported": "2026-11-21T06:56:03.684Z",
"modified": "2026-10-08T13:53:51.593Z",
"published": "2026-08-05T16:17:04.617Z",
"url": "https://services.nvd.nist.gov/rest/json/cves/2.0?cveId=CVE-2026-70604"
},
{
"affected": {
"electronjs:electron": [
"< 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"
]
},
"fields": [
"affected"
],
"html_url": "https://github.com/electron/electron/security/advisories/GHSA-v3j7-r9gq-3gjw",
"id": "GHSA-v3j7-r9gq-3gjw",
"imported": "2026-11-21T06:56:03.684Z",
"modified": "2026-09-03T06:08:18Z",
"published": "2026-07-27T23:29:07Z",
"url": "https://api.github.com/repos/electron/electron/security-advisories/GHSA-v3j7-r9gq-3gjw"
}
]
}