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-2020-17510 Vulnerability in maven package org.apache.shiro:shiro-spring-boot-web-starter
CVE-2022-3978 Vulnerability in npm package nodebb
CVE-2022-41927 Vulnerability in maven package org.xwiki.platform:xwiki-platform-tag-ui
CVE-2023-26487 Vulnerability in maven package org.webjars.npm:vega-functions
CVE-2023-51079 Vulnerability in maven package org.mvel:mvel2