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-2023-33725 Vulnerability in maven package org.broadleafcommerce:broadleaf
CVE-2021-23358 Vulnerability in maven package org.webjars.bowergithub.jashkenas:underscore
CVE-2022-32065 Vulnerability in maven package com.ruoyi:ruoyi
CVE-2021-23337 Vulnerability in maven package org.webjars.npm:lodash
CVE-2017-16008 Vulnerability in maven package org.webjars.bower:i18next