CVE-2020-4075: Files or Directories Accessible to External Parties
(updated )
In Electron, an 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.
References
Detect and mitigate CVE-2020-4075 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →