JLSEC-2026-1805: Medium severity julia/electron_jll vulnerability

Published Dec 2, 2026
·
Updated

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.

Affected Software

1 affected component
julia/electron_jll*

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 38.8.6
  2. Upgrade

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

    Fixed in 39.8.1
  3. Upgrade

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

    Fixed in 40.8.1
  4. Upgrade

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

    Fixed in 41.0.0

Event History

Dec 2, 2026
Advisory Published
via OSV·02:18 PM
Data Sourced
via OSV·02:18 PM
DescriptionSeverityAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

Which applications are exposed to this issue?

Applications are exposed if they use Electron versions before 38.8.6, 39.8.1, 40.8.1, or 41.0.0 and grant iframe permission requests based on the origin parameter supplied to session.setPermissionRequestHandler() or on webContents.getURL(). Applications that check details.requestingUrl are not affected.

2

What does an attacker need to exploit this behavior?

An attacker needs embedded third-party iframe content to request fullscreen, pointer lock, keyboard lock, openExternal, or media permissions. If the application trusts the reported top-level origin when making its permission decision, the iframe may receive permissions intended only for that top-level origin.

3

How can we mitigate the issue before upgrading?

Base permission decisions on details.requestingUrl rather than the origin parameter or webContents.getURL(). This preserves the actual URL of the iframe making the request.

4

How can we determine whether our permission handler is vulnerable?

Review uses of session.setPermissionRequestHandler() for permission decisions that rely on its origin parameter or webContents.getURL(). If the handler validates details.requestingUrl for the requester, it is not affected.

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