electron is vulnerable to Origin Validation Error
74
CVE Score
High
Origin Validation Error
Custom protocol schemes registered with protocol.registerFileProtocol or protocol.registerHttpProtocol and supportFetchAPI: true but without corsEnabled: true still let their responses be read cross-origin by web content. This affects apps that register such a scheme, serve it through one of those handlers, and load untrusted content in the same session; corsEnabled: true is not a mitigation since that option opts a scheme in to cross-origin reads by design. The fix enforces the CORS restriction for schemes that did not opt in to corsEnabled.
Upgrade the electron library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you serve a custom protocol scheme through protocol.registerFileProtocol or protocol.registerHttpProtocol alongside untrusted content in the same session.
1.0.0 - 41.10.5
Fixed in 41.10.642.0.0 - 42.9.1
Fixed in 42.9.243.0.0 - 43.4.0
Fixed in 43.4.1electron is vulnerable to Origin Validation Error in versions 1.0.0 - 41.10.5, 42.0.0 - 42.9.1 and 43.0.0 - 43.4.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.