{"id":"CVE-2019-10799","aliases":["EUVD-2021-0787","GHSA-79qm-h35f-hr77","SNYK-JS-COMPILESASS-551804"],"status":"published","title":"OS Command Injection in compile-sass","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.","severity":{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-11","score":0.02266,"percentile":0.83256,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-78"],"published":"2020-02-24T17:42:03Z","modified":"2026-10-20T10:50:38Z","fixes":[{"ecosystem":"npm","package":"compile-sass","fixed_in":["1.0.5"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"compile-sass","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]},{"source":"osv","ecosystem":"npm","package":"compile-sass","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"1.0.5"}]}]}],"products":[{"vendor":"compile-sass_project","product":"compile-sass"}],"references":[{"url":"https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","web"]},{"url":"https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","evidence","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10799","tags":["advisory"]},{"url":"https://snyk.io/vuln/SNYK-JS-RPI-548942","tags":["web"]},{"url":"https://github.com/advisories/GHSA-79qm-h35f-hr77"},{"url":"https://github.com/eiskalteschatten/compile-sass","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2019-10799","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.","status":"published","published":"2020-02-24T17:42:03Z","modified":"2024-08-04T22:32:02.02Z","updated_at":"2026-11-02T14:20:19.056416Z"}],"euvd":[{"id":"EUVD-2021-0787","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.","status":"published","published":"2020-02-24T17:42:03Z","modified":"2024-08-04T22:32:02Z","updated_at":"2026-11-03T02:40:50.763878Z"}],"ghsa":[{"id":"GHSA-79qm-h35f-hr77","title":"OS Command Injection in compile-sass","description":"compile-sass prior to 1.0.5 allows execution of arbritary commands. The function \u0026quot;setupCleanupOnExit(cssPath)\u0026quot; within \u0026quot;dist/index.js\u0026quot; is executed as part of the \u0026quot;rm\u0026quot; command without any sanitization.","status":"published","published":"2021-04-13T15:23:13Z","modified":"2023-02-01T05:05:29Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:36:34.260786Z"}],"nvd":[{"id":"CVE-2019-10799","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.","status":"published","published":"2020-02-24T18:15:15.29Z","modified":"2026-06-17T02:11:41.75Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":8.5,"vector":"AV:N/AC:L/Au:N/C:C/I:P/A:N","level":"high","assessor":"primary"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T14:05:43.875329Z"}],"osv":[{"id":"CVE-2019-10799","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.","status":"published","published":"2020-02-24T18:15:15.29Z","modified":"2026-10-20T10:50:38.339239201Z","cvss":[{"version":"3.1","score":8.2,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N","level":"high"}],"updated_at":"2026-11-02T15:44:10.383287Z"},{"id":"GHSA-79qm-h35f-hr77","title":"OS Command Injection in compile-sass","description":"compile-sass prior to 1.0.5 allows execution of arbritary commands. The function \u0026quot;setupCleanupOnExit(cssPath)\u0026quot; within \u0026quot;dist/index.js\u0026quot; is executed as part of the \u0026quot;rm\u0026quot; command without any sanitization.","status":"published","published":"2021-04-13T15:23:13Z","modified":"2026-07-08T05:56:16.252134682Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-78"],"updated_at":"2026-11-02T15:46:41.002603Z"}]}}
