{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2019-10799","id":"CVE-2019-10799","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.","descriptionLong":"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.","published":"2020-02-24T17:42:03.000Z","updated":"2026-10-20T10:50:38.339239201Z","reserved":"2019-04-03T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"snyk","metric":{"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","rating":"high","source":"NVD"},"metrics":[{"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","rating":"high","source":"NVD"},{"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","rating":"high","source":"OSV"},{"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","rating":"critical","source":"GitHub"},{"version":"2.0","score":8.5,"vector":"AV:N/AC:L/Au:N/C:C/I:P/A:N","rating":"high","source":"NVD"}],"rating":"high","products":["compile-sass"],"affectedProducts":[{"vendor":"n/a","product":"compile-sass","defaultStatus":null,"versions":[{"status":"affected","version":"All versions prior to 1.0.5"}],"platforms":[]}],"packages":[{"ecosystem":"npm","name":"compile-sass","purl":"pkg:npm/compile-sass","ranges":["<1.0.5"],"fixed":["1.0.5"],"advisory":"GHSA-79qm-h35f-hr77"}],"cwes":["CWE-78"],"aliases":["GHSA-79qm-h35f-hr77","SNYK-JS-COMPILESASS-551804"],"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://github.com/eiskalteschatten/compile-sass","tags":["package"]},{"url":"https://snyk.io/vuln/SNYK-JS-RPI-548942","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.02266,"epssPercentile":0.83374,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2019-10799","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2019-10799","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2019-10799","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-79qm-h35f-hr77","ok":true,"note":"GHSA-79qm-h35f-hr77"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2019-10799","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}