alfred-workflow-nodejs@2.0.4 vulnerabilities

Alfred workflow nodejs module

Direct Vulnerabilities

Known vulnerabilities in the alfred-workflow-nodejs 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
  • H
Command Injection

alfred-workflow-nodejs is an Alfred workflow nodejs module

Affected versions of this package are vulnerable to Command Injection. It is possible to inject arbitrary commands by using a semicolon char in any of the key values.

PoC

var AlfredNode = require('alfred-workflow-nodejs');
var utils = AlfredNode.utils;

utils.wfVars.remove(' "; whoami>hacked #', false);

How to fix Command Injection?

There is no fixed version for alfred-workflow-nodejs.

*