Intel

AIKIDO-2026-10702

electron is vulnerable to Origin Validation Error

Origin Validation ErrorCVE-2026-70604 Published May 4, 2026

65

Medium Risk

This Affects:

JSelectron
25.0.0 - 39.8.9
Fixed in 39.8.10
40.0.0 - 40.9.2
Fixed in 40.9.3
41.0.0 - 41.3.0
Fixed in 41.4.0
Are you affected? Scan for Free

TL;DR

Protocol handlers that registered the Fetch-compatible path with only the fetch surface enabled could still serve cross-origin fetch and XHR requests from untrusted web contexts without the explicit CORS opt-in, and cross-origin no-cors fetches were not consistently treated as opaque. That let remote pages read custom scheme response bodies in situations that should have been CORS- or opacity-gated, undermining the isolation model for those handlers. The loader now enforces the CORS-disabled scheme rule for that configuration and returns opaque bytes for disallowed cross-origin no-cors requests so cross-site code cannot access the scheme payload unless CORS is deliberately enabled.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range.

Background info

electron is vulnerable to Origin Validation Error in versions 25.0.0 - 39.8.9, 40.0.0 - 40.9.2 and 41.0.0 - 41.3.0.

How to fix this

Upgrade the electron library to the patch version.

Are You Affected?

Connect your repositories to instantly see whether vulnerable or malicious packages exist in your codebase.

Free. No credit card required.

Aikido Platform