CVE-2019-10799 json
OS Command Injection in compile-sass
published 2020-02-24 6 y ago modified 2026-07-08 4 mo ago also GHSA-79qm-h35f-hr77 , EUVD-2021-0787
- cvss
- 8.2
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 2.3%
- EPSS 2.3% chance of exploitation in 30 days, percentile 83%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- npm compile-sass 1.0.5
- compile-sass_project compile-sass 1.0.5
Exploit prediction
2.27% chance of exploitation in the next 30 days, higher than 83% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- snyk.io https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
| NVD | 2.0 | 8.5 | AV:N/AC:L/Au:N/C:C/I:P/A:N |
| GitHub | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | compile-sass | <1.0.5 |
1.0.5 |
Affected products
- n/a compile-sass
Classification
- Weakness
-
- CWE-78 Improper Neutralization of Special Elements used in an OS Command
References
-
github.com
/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2
web, patch, third-party-advisory
-
snyk.io
/vuln/SNYK-JS-COMPILESASS-551804
web, exploit, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2019-10799
advisory
-
github.com
/eiskalteschatten/compile-sass
package
-
snyk.io
/vuln/SNYK-JS-RPI-548942
web
Sources
- CVE List CVE-2019-10799
- GitHub Advisory GHSA-79qm-h35f-hr77
- NVD CVE-2019-10799
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.