CVE-2020-4075GHSA-F9MQ-JPH6-9MHM
Arbitrary file read via window-open IPC in Electron
- Published
- Last modified
- Where the record stands: published, rejected by its publisher, or superseded by another id.What do these mean? →
- published
- Whether CISA lists it in its Known Exploited Vulnerabilities catalog: proof that attackers are using it.What do these mean? →
- Not listed in CISA KEV
- Fix
- Fixed in 8.2.4, 7.2.4
- Whether working attack code is public (Exploit-DB, Metasploit, Nuclei or GitHub). Public code makes attacks easier.What do these mean? →
- 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
- CVE published
- 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