OS Command Injection in compile-sass
High severity
GitHub Reviewed
Published
Apr 13, 2021
to the GitHub Advisory Database
•
Updated Feb 1, 2023
Description
Published by the National Vulnerability Database
Feb 24, 2020
Reviewed
Apr 8, 2021
Published to the GitHub Advisory Database
Apr 13, 2021
Last updated
Feb 1, 2023
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.
References