Skip to main content
← All vulnerabilities
CVE-2020-4075GHSA-F9MQ-JPH6-9MHM

Arbitrary file read via window-open IPC in Electron

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 8.2.4, 7.2.4
None on Exploit-DB, Metasploit or GitHub

Summary

In Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21, arbitrary local file read is possible by defining unsafe window options on a child window opened via window.open. As a workaround, ensure you are calling `event.preventDefault()` on all new-window events where the `url` or `options` is not something you expect. This is fixed in versions 9.0.0-beta.21, 8.2.4 and 7.2.4.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • electron electron

    From 9.0.0-beta.0 · through 9.0.0-beta.20; From 8.0.0 · fixed in 8.2.4; fixed in 7.2.4

  • electronnpm

    fixed in 7.2.4

  • electronnpm

    From 8.0.0 · fixed in 8.2.4

References 2

electronjs.org

GitHub · electron/electron