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-2018-3721 Vulnerability in maven package org.webjars.bower:lodash
CVE-2021-32808 Vulnerability in maven package org.webjars.npm:ckeditor4
CVE-2021-21316 Vulnerability in npm package less-openui5
CVE-2021-21351 Vulnerability in maven package com.thoughtworks.xstream:xstream
CVE-2022-29244 Vulnerability in maven package org.webjars.npm:npm