Public mode

No access to your tenant or devices. Every item links to its source. What this means

Sources need attention Customize Public modeDiscuss ChangeIntel on Discord

Electron: Service worker can spoof executeJavaScript IPC replies

CVSS 3.1 5.9 MEDIUMEUVD CVSS 3.1 5.9 CVSS 3.1 · [email protected] · Secondary 5.9 MEDIUMCVSS 3.1 · [email protected] · Primary 6.5 MEDIUMCVSS_V3 Publisher rating MODERATEFixed by electron 38.8.6Fixed by electron 39.8.1Fixed by electron 40.8.1Fixed by electron 41.0.0KEV status unknown

cve-program · CVE-2026-34778

Published

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, a service worker running in a session could spoof reply messages on the internal IPC channel used by webContents.executeJavaScript() and related methods, causing the main-process promise to resolve with attacker-controlled data. Apps are only affected if they have service workers registered and use the result of webContents.executeJavaScript() (or webFrameMain.executeJavaScript()) in security-sensitive decisions. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

Read the publisher's advisory

euvd · EUVD-2026-18955

Published

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, a service worker running in a session could spoof reply messages on the internal IPC channel used by webContents.executeJavaScript() and related methods, causing the main-process promise to resolve with attacker-controlled data. Apps are only affected if they have service workers registered and use the result of webContents.executeJavaScript() (or webFrameMain.executeJavaScript()) in security-sensitive decisions. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

Read the publisher's advisory

nvd · CVE-2026-34778

Published

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, a service worker running in a session could spoof reply messages on the internal IPC channel used by webContents.executeJavaScript() and related methods, causing the main-process promise to resolve with attacker-controlled data. Apps are only affected if they have service workers registered and use the result of webContents.executeJavaScript() (or webFrameMain.executeJavaScript()) in security-sensitive decisions. This issue has been patched in versions 38.8.6, 39.8.1, 40.8.1, and 41.0.0.

Read the publisher's advisory

osv · GHSA-xj5x-m3f3-5x3h

Published

### Impact A service worker running in a session could spoof reply messages on the internal IPC channel used by `webContents.executeJavaScript()` and related methods, causing the main-process promise to resolve with attacker-controlled data. Apps are only affected if they have service workers registered and use the result of `webContents.executeJavaScript()` (or `webFrameMain.executeJavaScript()`) in security-sensitive decisions. ### Workarounds Do not trust the return value of `webContents.executeJavaScript()` for security decisions. Use dedicated, validated IPC channels for security-relevant communication with renderers. ### Fixed Versions * `41.0.0` * `40.8.1` * `39.8.1` * `38.8.6` ### For more information If there are any questions or comments about this advisory, please email [[email protected]](mailto:[email protected])

Read the publisher's advisory

Affected versions, risk and source history

cve-program · CVE-2026-34778

Published

electron

Vendor product

Publisher's version information

Shown as published. These rules are not interpreted as NuGet package version ranges.

{
                    "vendor": "electron",
                    "product": "electron",
                    "versions": [
                        {
                            "version": "< 38.8.6",
                            "status": "affected"
                        },
                        {
                            "version": ">= 39.0.0-alpha.1, < 39.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 40.0.0-alpha.1, < 40.8.1",
                            "status": "affected"
                        },
                        {
                            "version": ">= 41.0.0-alpha.1, < 41.0.0",
                            "status": "affected"
                        }
                    ]
                }

Original source record · Cite this exact observation · Complete original publisher JSON

euvd · EUVD-2026-18955

Published

EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON.

Original publisher date fields

datePublished: Apr 3, 2026, 11:59:07 PM

dateUpdated: Apr 6, 2026, 3:50:49 PM

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

nvd · CVE-2026-34778

Published

NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON.

Source analysis status: Analyzed

Weakness classifications: CWE-290 · CWE-345

Original publisher date fields

published: 2026-04-04T00:16:19.060

lastModified: 2026-07-24T22:10:00.140

15 source CPE criteria · context only
  • cpe:2.3:a:electronjs:electron:*:*:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:alpha6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta1:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta2:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta3:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta4:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta5:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta6:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta7:*:*:*:node.js:*:*
  • cpe:2.3:a:electronjs:electron:41.0.0:beta8:*:*:*:node.js:*:*

The original JSON retains the logical configuration operators, exclusions and version bounds.

No normalized affected-package data is projected for this source revision. The original publisher record may contain additional product and version evidence; this does not establish that a package is unaffected.

Original source record · Cite this exact observation · Complete original publisher JSON

osv · GHSA-xj5x-m3f3-5x3h

Published

electron

npm

SEMVER · introduced 0 → fixed 38.8.6

electron

npm

SEMVER · introduced 39.0.0-alpha.1 → fixed 39.8.1

electron

npm

SEMVER · introduced 40.0.0-alpha.1 → fixed 40.8.1

electron

npm

SEMVER · introduced 41.0.0-alpha.1 → fixed 41.0.0

Original source record · Cite this exact observation · Complete original publisher JSON

ChangeIntel

An IT change radar: releases, security, known issues, retirements, documentation changes, and service status from public sources. Every item links to supporting evidence; dates and statuses can change after they are read.

Sources read 24 Nov 02:22 UTC · 274 of 275 readable · 270 fully read · documentation 469/469 current