Loading advisory.
Loading advisory.
Electron: Custom protocol with supportFetchAPI but not corsEnabled allows cross-origin reads
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.
Published 2026-08-05 15:59 UTC · Modified 2026-08-05 18:41 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score. How tiers work
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| electron | npm | >= 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 | 42.0.0, 41.4.0, 40.9.3, 39.8.10 | npm install electron@42.0.0npm install electron@41.4.0npm install electron@40.9.3npm install electron@39.8.10 |
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. Apps that set corsEnabled: true, or that do not load untrusted content, are not affected.
Set corsEnabled: true on schemes that must enforce CORS, and validate the request Origin in your protocol handler before returning sensitive data.
42.0.0
41.4.0
40.9.3
39.8.10
If you have any questions or comments about this advisory, email Electron at security@electronjs.org
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
One EPSS score on record: 0.004 on 2026-11-24.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.004 | first score | v2026.06.15 |