electron@41.10.1

Build cross platform desktop apps with JavaScript, HTML, and CSS

  • latest version

    44.0.0

  • latest non vulnerable version

  • first published

    14 years ago

  • latest version published

    19 hours ago

  • licenses detected

  • Direct Vulnerabilities

    Known vulnerabilities in the electron package. This does not include vulnerabilities belonging to this package’s dependencies.

    Fix vulnerabilities automatically

    Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

    Fix for free
    VulnerabilityVulnerable Version
    • M
    Improper Restriction of Rendered UI Layers or Frames

    electron is a framework which lets you write cross-platform desktop applications using JavaScript, HTML and CSS.

    Affected versions of this package are vulnerable to Improper Restriction of Rendered UI Layers or Frames in the OpenURL navigation path, which allows a sandboxed iframe without the allow-popups keyword to open a new window or trigger setWindowOpenHandler without user interaction. An attacker can circumvent intended popup restrictions by embedding untrusted content in a sandboxed iframe and leveraging this navigation path.

    Note: This is only exploitable if applications rely solely on the absence of allow-popups in the iframe sandbox to prevent window creation.

    How to fix Improper Restriction of Rendered UI Layers or Frames?

    Upgrade electron to version 39.8.10, 41.10.3, 42.0.1 or higher.

    <39.8.10>=40.0.0-alpha.2 <41.10.3>=42.0.0-alpha.1 <42.0.1