Description
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.
Metrics
CVSS 3.1 8.2/10
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:NWeakness enumeration
Affected software
| Vendor | Product | Versions |
|---|---|---|
| n/a | compile-sass | All versions prior to 1.0.5 |
References
- https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804Exploit, Third Party Advisory
- https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804Exploit, Third Party Advisory
Timeline
- Published
- Feb 24, 2020
- Last modified
- Jun 17, 2026
- NVD status
- Modified