Skip to content
OpenAdvisories
Critical · 9.8 CVE-2019-10799 EUVD-2021-0787GHSA-79qm-h35f-hr77SNYK-JS-COMPILESASS-551804

OS Command Injection in compile-sass

Published Feb 24, 2020 · Updated Aug 4, 2024 · Assigned by snyk

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.

Affected products

VendorProductAffectedFixed
— compile-sass All versions prior to 1.0.5 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm compile-sass < 1.0.5 1.0.5 GHSA-79qm-h35f-hr77

References