REDHAT-BUG-2455020: XSS

Published Apr 4, 2026
·
Updated

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.

Affected Software

3 affected components
Electron Electron>=39.0.0-alpha.1<39.8.0
Electron Electron>=40.0.0-alpha.1<40.7.0
Electron Electron>=41.0.0-alpha.1<41.0.0-beta.8

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 39.8.0
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 40.7.0
  3. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 41.0.0-beta.8

Event History

Apr 4, 2026
Data Sourced
via Red Hat·01:01 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of REDHAT-BUG-2455020?

The severity of REDHAT-BUG-2455020 is rated as high, with a score of 7.

2

How do I fix REDHAT-BUG-2455020?

To fix REDHAT-BUG-2455020, update your Electron version to 39.8.0 or later, 40.7.0 or later, or 41.0.0-beta.8 or later.

3

What types of applications are affected by REDHAT-BUG-2455020?

REDHAT-BUG-2455020 affects Electron applications that utilize VideoFrame objects from the WebCodecs API.

4

What versions of Electron are vulnerable according to REDHAT-BUG-2455020?

Versions of Electron from 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 are vulnerable.

5

What is the main vulnerability type associated with REDHAT-BUG-2455020?

The main vulnerability type associated with REDHAT-BUG-2455020 is Cross-Site Scripting (XSS).

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203