SecurityContext

CVE-2019-10799: compile-sass - Command Injection

  • Cve: CVE-2019-10799
  • Name: compile-sass - Command Injection
  • 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.
  • Impact: Attackers can execute arbitrary commands on the server, potentially leading to full system compromise.
  • Remediation: Update to version 1.0.5 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
  • Epss score: 0.02266
  • Epss percentile: 0.83477
  • Assignee: [email protected]
  • Published at: 2020-02-24T18:15:15Z
  • Age in days: 2465
  • Modified at: 2026-06-17T02:11:41Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 2
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2019-10799
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-78Improper Neutralization of Special Elements used in an OS Command

Public exploits

UrlSourceAdded date
https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804nvd2020-02-24

References

UrlSourceTags
https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2nvdPatch, Third Party Advisory
https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804nvdExploit, Third Party Advisory

Products

ProductAffectedPlatform boundSourcesUrl
compile-sass_project:compile-sass< 1.0.5nonvd/v1/products/compile-sass_project/compile-sass

Projects

RepositoryLink kindsIndexedUrl
eiskalteschatten/compile-sasscommit, fix, packageyes/v1/repositories/eiskalteschatten/compile-sass

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2020-02-24
  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts