Skip to content

CVE-2026-34780

Electronjs Electron vulnerability

8.3 HIGHEPSS 0.45%
  1. Published3 Apr 2026

Description

Electron is a framework for writing cross-platform desktop applications using JavaScript, HTML and CSS. From versions 39.0.0-alpha.1 to before 39.8.0, 40.0.0-alpha.1 to before 40.7.0, and 41.0.0-alpha.1 to before 41.0.0-beta.8, apps that pass VideoFrame objects (from the WebCodecs API) across the contextBridge are vulnerable to a context isolation bypass. An attacker who can execute JavaScript in the main world (for example, via XSS) can use a bridged VideoFrame to gain access to the isolated world, including any Node.js APIs exposed to the preload script. Apps are only affected if a preload script returns, resolves, or passes a VideoFrame object to the main world via contextBridge.exposeInMainWorld(). Apps that do not bridge VideoFrame objects are not affected. This issue has been patched in versions 39.8.0, 40.7.0, and 41.0.0-beta.8.

CVSS 3.1 breakdown

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionRequired
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H

Affected products

Electronjs Electron41.0.0 · ≥ 39.0.0 < 39.8.0 · ≥ 40.0.0 < 40.7.0

Remediation

Fixed in
Electronjs Electron≥ 39.8.0

Frequently asked

Is CVE-2026-34780 being actively exploited?

CVE-2026-34780 is not in the CISA KEV catalog. Its EPSS exploit probability is 0.45%.

How severe is CVE-2026-34780?

CVE-2026-34780 has a CVSS 3.1 base score of 8.3, rated high. EPSS estimates a 0.45% probability of exploitation.

Which products are affected by CVE-2026-34780?

Affected products include Electronjs Electron.

How do I fix CVE-2026-34780?

Upgrade affected software to a fixed version, for example Electronjs Electron 39.8.0 or later, then confirm no affected versions remain in your inventory.

How Secuno handles this

Secuno correlates vulnerabilities like CVE-2026-34780 against the real software inventory on every managed device, as each hourly inventory arrives. Rather than a static severity, each match is scored in context: exploit availability, EPSS, the asset's exposure, and business criticality decide where it lands in the queue. If an affected version is present anywhere across your portfolio, it surfaces automatically with a prioritised remediation path.

Get Patch this first every Monday

Five vulnerabilities that matter this week, ranked on real exploitation. Plain language, one email, no spam.

You can unsubscribe with one click from every issue. We handle your details as described in our privacy policy.

Data from the NVD, CISA KEV catalog and FIRST EPSS. CVSS 3.1 base score shown where available.