CVE-2020-7607
Description
gulp-styledocco through 0.0.3 is vulnerable to command injection via unsanitized user-controlled options argument.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
gulp-styledocco through 0.0.3 is vulnerable to command injection via unsanitized user-controlled options argument.
Vulnerability
Overview
The gulp-styledocco plugin for Gulp (versions through 0.0.3) contains a command injection vulnerability in its index.js file. The options parameter passed to the exports function is not sanitized before being used, allowing an attacker to inject arbitrary commands [1][2].
Exploitation
An attacker can exploit this by crafting a malicious options object. For example, setting the name property to a string containing shell metacharacters (e.g., 123"& touch Vulnerable& ") triggers command execution when the plugin processes the file stream [1]. No authentication or special privileges are required; the attack can be performed by any user who can control the options passed to the plugin, such as in a build pipeline where user-supplied configuration is used.
Impact
Successful exploitation allows the attacker to execute arbitrary operating system commands with the privileges of the Gulp process. This can lead to full system compromise, data exfiltration, or further lateral movement within the build environment [1][2].
Mitigation
As of the advisory publication date (March 2020), no fixed version of gulp-styledocco is available. Users are advised to avoid using this package or to ensure that user-supplied data is not passed as options to the plugin. Alternative plugins that provide similar functionality without the vulnerability should be considered [1].
AI Insight generated on May 21, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
gulp-styledocconpm | <= 0.0.3 | — |
Affected products
2- gulp-styledocco/gulp-styledoccodescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- github.com/advisories/GHSA-h33p-5j96-w8qhghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2020-7607ghsaADVISORY
- snyk.io/vuln/SNYK-JS-GULPSTYLEDOCCO-560126ghsax_refsource_MISCWEB
News mentions
0No linked articles in our index yet.