{"id":"CVE-2022-21186","summary":"Arbitrary Command Injection","details":"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.","aliases":["GHSA-m2fc-9h5m-29cm"],"modified":"2026-08-12T03:51:23.715625025Z","published":"2022-08-05T05:00:18.167Z","database_specific":{"cna_assigner":"snyk","osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21186.json"},"references":[{"type":"WEB","url":"https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/21xxx/CVE-2022-21186.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21186"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/acrontum/filesystem-template","events":[{"introduced":"0"},{"fixed":"55d6389dc6a9714231c5c68e54cba196712e3612"}],"database_specific":{"cpe":"cpe:2.3:a:acrontum:filesystem-template:*:*:*:*:*:node.js:*:*","extracted_events":[{"introduced":"0"},{"fixed":"0.0.2"}],"source":["AFFECTED_FIELD","CPE_RANGE"]}}],"versions":["0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-21186.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P"}]}