gulp-scss-lint@0.3.8 vulnerabilities

Validate `.scss` files with `scss-lint`

Direct Vulnerabilities

Known vulnerabilities in the gulp-scss-lint package. This does not include vulnerabilities belonging to this package’s dependencies.

How to fix?

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.

Fix for free
VulnerabilityVulnerable Version
  • M
Command Injection

gulp-scss-lint is a Lint your .scss files.

Affected versions of this package are vulnerable to Command Injection. It is possible to inject arbitrary commands to the exec function located in src/command.js via the provided options.

PoC by JHU System Security Lab

var root = require("gulp-scss-lint");
var attack_code = "echo vulnerable > create.txt";
var opt = {
  "src": attack_code
}
root(opt);

How to fix Command Injection?

A fix was pushed into the master branch but not yet published.

*