Skip to content
Heist/ feed
Back to feed
High

Security advisory

Type: advisorySources: OSVCVE: CVE-2019-10799

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2019-10799
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 10:33 UTC · Revision 1

Source evidence

CVE-2019-10799

core-osv · Original source

Published 24 Feb 2020, 18:15 UTC

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.

osv:CVE-2019-10799
Complete source record
{
  "id": "cd6f5195cb3f942fb23e13abd09e51a4c835e3a0b5b18ccf51d51b0c84594d65",
  "url": "https://osv.dev/vulnerability/CVE-2019-10799",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2019-10799",
    "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.",
    "evidence": "osv:CVE-2019-10799",
    "products": [],
    "severity": "high",
    "structured": {
      "id": "CVE-2019-10799",
      "aliases": [
        "CVE-2019-10799",
        "GHSA-79qm-h35f-hr77",
        "SNYK-JS-COMPILESASS-551804"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/eiskalteschatten/compile-sass",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "d9ada7797ff93875b6466dea7a78768e90a0f8d2"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:compile-sass_project:compile-sass:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "1.0.5"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "d9ada7797ff93875b6466dea7a78768e90a0f8d2"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.0.4",
            "v1.0.3",
            "v1.0.2",
            "v1.0.1",
            "v1.0.0",
            "v0.1.4",
            "v0.1.3",
            "v.0.1.2",
            "v0.1.1",
            "v0.1.0",
            "v0.0.5",
            "v0.0.3",
            "v0.0.2"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2019-10799.json"
          }
        }
      ],
      "modified": "2026-10-20T10:50:38.339239201Z",
      "provider": "osv",
      "references": [
        "https://github.com/eiskalteschatten/compile-sass/commit/d9ada7797ff93875b6466dea7a78768e90a0f8d2",
        "https://snyk.io/vuln/SNYK-JS-COMPILESASS-551804"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2019-10799",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 381935,
  "published_at": "2020-02-24T18:15:15.29+00:00"
}