PT-2020-17864
CVE-2020-4075
·
Published
2020-07-07
·
Updated
2020-07-13
Description by
CVSS 3.1
7.5
HighMetricsAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions
Electron versions prior to 7.2.4
Electron versions prior to 8.2.4
Electron versions prior to 9.0.0-beta21
Description
The issue allows for arbitrary local file read by defining unsafe window options on a child window opened via window.open. To mitigate this, ensure that
event.preventDefault() is called on all new-window events where the url or options is not expected.Recommendations
For versions prior to 7.2.4, 8.2.4, and 9.0.0-beta21, update to version 7.2.4, 8.2.4, or 9.0.0-beta21 respectively to resolve the issue.
As a temporary workaround, consider calling
event.preventDefault() on all new-window events where the url or options is not something you expect. Found an issue in the description? Have something to add? Feel free to write us 👾