props@0.2.2 vulnerabilities

extract json/yaml from the beginning of text files

Direct Vulnerabilities

Known vulnerabilities in the props 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
  • M
Command Injection

props is an extract json/yaml from the beginning of text files

Affected versions of this package are vulnerable to Command Injection due to Unsafe Deserialization in props module. The module uses yaml-js.load() function to load a YAML file without any validation/sanitization. If an attacker can control the YAML file, it could run arbitrary JavaScript code on the victim machine.

How to fix Command Injection?

There is no fixed version for props.

*