SCA: security update for electron (GHSA-r5p7-gp4j-qhrx)

medium Tenable Cloud Security Plugin ID 439773

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.
Prior to versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0, when an iframe requests fullscreen, pointerLock,
keyboardLock, openExternal, or media permissions, the origin passed to
session.setPermissionRequestHandler() was the top-level page's origin rather than the requesting iframe's
origin. Apps that grant permissions based on the origin parameter or webContents.getURL() may
inadvertently grant permissions to embedded third-party content. The correct requesting URL remains
available via details.requestingUrl. Apps that already check details.requestingUrl are not affected. This
issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0. (CVE-2026-34777)

Solution

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

See Also

https://github.com/advisories/GHSA-r5p7-gp4j-qhrx

Plugin Details

Severity: Medium

ID: 439773

Version: Revision 1.6

Type: Local

Family: SCA Checks

Published: 4/3/2026

Updated: 6/4/2026

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

Risk Information

VPR

Risk Factor: Low

Score: 2.1

Percentile: 7.71

Vendor

Vendor Severity: Medium

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-34777

CVSS v3

Risk Factor: Medium

Base Score: 5.4

Temporal Score: 4.7

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/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-34777

cwe: CWE-346