GitHub Advisory Database
GHSA-79qm-h35f-hr77
OS Command Injection in compile-sass
Details
compile-sass prior to 1.0.5 allows execution of arbritary commands. The function "setupCleanupOnExit(cssPath)" within "dist/index.js" is executed as part of the "rm" command without any sanitization.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| npm | compile-sass | All versions before 1.0.5 (fixed in 1.0.5) |