PT-2020-17864 · Github · Electron
Marshallofsound
·
Published
2020-07-07
·
Updated
2020-07-13
·
CVE-2020-4075
CVSS v3.1
7.5
High
| Vector | AV: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.Fix
Files Accessible to External Parties
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Electron