{"id":"CVE-2022-21186","aliases":["CVE-2022-21186","GHSA-m2fc-9h5m-29cm"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Command Injection","summary":"The package @acrontum/filesystem-template before 0.0.2 are vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"The package @acrontum/filesystem-template before 0.0.2 are vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.","source":"cvelist"},{"lang":"en","text":"The package @acrontum/filesystem-template before 0.0.2 is vulnerable to Arbitrary Command Injection due to the fetchRepo API missing sanitization of the href field of external input.","format":"markdown","source":"ghsa"},{"lang":"es","text":"El paquete @acrontum/filesystem-template versiones anteriores a 0.0.2, es vulnerable a una inyección arbitraria de comandos debido a que la API fetchRepo no sanea el campo href de la entrada externa","source":"nvd"}],"published":"2022-08-05T05:00:18.167Z","modified":"2026-06-17T04:25:42.347Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P","score":9.8,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","fixed":"0.0.2","status":"affected"}],"product":"@acrontum/filesystem-template","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"0.0.2"}],"ecosystem":"npm","package":"@acrontum/filesystem-template","purl":"pkg:npm/%40acrontum/filesystem-template","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"0.0.2"}],"vendor":"acrontum","product":"filesystem-template","cpe":"cpe:2.3:a:acrontum:filesystem-template:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc","tags":["patch","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21186","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/acrontum/filesystem-template/issues/13","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/acrontum/filesystem-template","tags":["package"],"sources":["ghsa"]}],"credits":["Feng Xiao and Zhongfu Su"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-21186","url":"https://www.cve.org/CVERecord?id=CVE-2022-21186","licence":"CVE Terms of Use","modified":"2024-09-16T22:41:10.564Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m2fc-9h5m-29cm","url":"https://github.com/advisories/GHSA-m2fc-9h5m-29cm","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:04.469Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-21186","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21186","licence":"Public domain","modified":"2026-06-17T04:25:42.347Z"}],"updatedAt":"2026-11-25T22:58:13.409Z","epss":{"score":0.26074,"percentile":0.98023,"date":"2026-12-01T12:00:22.000Z"}}