SCA: security update for electron (GHSA-jfqg-hf23-qpw2)

medium Tenable Cloud Security Plugin ID 439774

Description

There are packages installed that are affected by a vulnerability referenced in the following CVE:

- 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. (CVE-2026-34780)

Solution

Update the electron library and its related packages to version 39.8.0 or later.

See Also

https://github.com/advisories/GHSA-jfqg-hf23-qpw2

Plugin Details

Severity: Medium

ID: 439774

Version: Revision 1.7

Type: Local

Family: SCA Checks

Published: 4/3/2026

Updated: 7/2/2026

Supported Sensors: Tenable Cloud Security, Tenable Self-Hosted Container Security

Risk Information

VPR

Risk Factor: Low

Score: 2.3

Percentile: 9.44

Vendor

Vendor Severity: High

CVSS v2

Risk Factor: Medium

Base Score: 6.4

Temporal Score: 4.7

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:N

CVSS Score Source: CVE-2026-34780

CVSS v3

Risk Factor: Medium

Base Score: 6.1

Temporal Score: 5.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

Exploit Ease: No known exploits are available

Patch Publication Date: 4/3/2026

Vulnerability Publication Date: 4/3/2026

Reference Information

CVE: CVE-2026-34780