NetSight
high9.8

CVE-2019-10799

OS Command Injection in compile-sass

Impact

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 packages

EcosystemPackageAffectedFixed in
npmcompile-sass< 1.0.51.0.5

Affected products

VendorProductAffected versions
Compile-Sass ProjectCompile-Sass
before 1.0.5

Weakness classification

References