Learn about CVE-2020-4075, a vulnerability in Electron allowing arbitrary local file read via window-open IPC. Mitigation steps and affected versions included.
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. This vulnerability has a CVSS base score of 6.8.
Understanding CVE-2020-4075
This CVE involves arbitrary file read via window-open IPC in Electron.
What is CVE-2020-4075?
CVE-2020-4075 is a security vulnerability in Electron that allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.
The Impact of CVE-2020-4075
The vulnerability has a CVSS base score of 6.8, with high confidentiality impact and no integrity impact. It requires no privileges and has a high attack complexity.
Technical Details of CVE-2020-4075
This section provides more technical insights into the vulnerability.
Vulnerability Description
The vulnerability in Electron before versions 7.2.4, 8.2.4, and 9.0.0-beta21 allows arbitrary local file read by defining unsafe window options on a child window opened via window.open.
Affected Systems and Versions
Exploitation Mechanism
The vulnerability can be exploited by defining unsafe window options on a child window opened via window.open, enabling arbitrary local file read.
Mitigation and Prevention
Protect your systems from CVE-2020-4075 with these mitigation strategies.
Immediate Steps to Take
event.preventDefault()
on all new-window events where the url
or options
are unexpectedLong-Term Security Practices
Patching and Updates