CVE-2022-21186
CRITICAL 9.8CVSS 3.1@acrontum/filesystem-template vulnerable to Command Injection due to fetchRepo API missing sanitization
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.
- Published
- 5 Aug 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-77
- Also known as
- GHSA-m2fc-9h5m-29cm
- Sources
- NVDJSONOSV GHSA-m2fc-9h5m-29cmJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | acrontum | filesystem-templatecpe:2.3:a:acrontum:filesystem-template:*:*:*:*:*:node.js:*:* |
< 0.0.2 | 0.0.2 |
| OSV | npm | @acrontum/filesystem-template | < 0.0.2 | 0.0.2 |
References
- https://github.com/acrontum/filesystem-template/pull/14/commits/baeb727b60991ad82d9e63ac660883793abc0acc · Patch, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-ACRONTUMFILESYSTEMTEMPLATE-2419071 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-21186 · ADVISORY
- https://github.com/acrontum/filesystem-template/issues/13 · WEB
- https://github.com/acrontum/filesystem-template/commit/baeb727b60991ad82d9e63ac660883793abc0acc · WEB
- https://github.com/acrontum/filesystem-template · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 5 Aug 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 6 Aug 2022)