Skip to content

OS Command Injection in compile-sass

High severity GitHub Reviewed Published Apr 13, 2021 to the GitHub Advisory Database • Updated Feb 1, 2023

Package

npm compile-sass (npm)

Affected versions

< 1.0.5

Patched versions

1.0.5

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.

References

Published by the National Vulnerability Database Feb 24, 2020
Reviewed Apr 8, 2021
Published to the GitHub Advisory Database Apr 13, 2021
Last updated Feb 1, 2023

Severity

High

EPSS score

0.527%
(78th percentile)

Weaknesses

CVE ID

CVE-2019-10799

GHSA ID

GHSA-79qm-h35f-hr77
Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.