windows-edge@1.0.1 vulnerabilities

Launch a new Microsoft Edge tab on Windows

Direct Vulnerabilities

Known vulnerabilities in the windows-edge package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • C
Remote Code Execution (RCE)

windows-edge is a package that Launches a new Microsoft Edge tab on Windows.

Affected versions of this package are vulnerable to Remote Code Execution (RCE). The issue occurs because a user input is formatted inside a command that will be executed without any check.

##PoC

const edge = require('windows-edge');
edge({ uri: 'https://github.com/; touch HACKED; #' }, (err, ps) => {})

How to fix Remote Code Execution (RCE)?

Upgrade windows-edge to version 1.1.0 or higher.

<1.1.0