Arbitrary Code Injection Affecting electron package, versions <1.4.15
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID npm:electron:20170105
- published 9 Oct 2017
- disclosed 4 Jan 2017
- credit Unknown
How to fix?
Upgrade electron
to version 1.4.15 or higher.
Overview
electron
is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application.
Affected versions of the package are vulnerable to Arbitrary Code Injection. A malicious user can create a specially crafted site which will be loaded in the preload
script and would run in the main JavaScript context.
References
CVSS Scores
version 3.1