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.
Remediation
References
https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2
https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804
Related Vulnerabilities
CVE-2022-1295 Vulnerability in maven package org.webjars.bowergithub.alvarotrigo:fullpage.js
CVE-2022-24891 Vulnerability in maven package org.owasp.esapi:esapi
CVE-2021-39231 Vulnerability in maven package org.apache.ozone:ozone-main
CVE-2022-31189 Vulnerability in maven package org.dspace:dspace-jspui