CVE-2023-26127
HIGH 7.8CVSS 3.1n158 vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function
All versions of the package n158 are vulnerable to Command Injection due to improper input sanitization in the 'module.exports' function.
Note:
To execute the code snippet and potentially exploit the vulnerability, the attacker needs to have the ability to run Node.js code within the target environment. This typically requires some level of access to the system or application hosting the Node.js environment.
- Published
- 27 May 2023
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Weakness
- CWE-74CWE-77CWE-78
- Also known as
- GHSA-549h-r7g9-2qpf
- Sources
- NVDJSONOSV GHSA-549h-r7g9-2qpfJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | n158_project | n158cpe:2.3:a:n158_project:n158:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | n158 | <= 1.4.1 |
References
- https://github.com/dsilva2401/n158/blob/master/src/cli/initProject.js%23L8 · Broken Link
- https://security.snyk.io/vuln/SNYK-JS-N158-3183746 · Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-26127 · ADVISORY
- https://github.com/dsilva2401/n158 · PACKAGE
- https://github.com/dsilva2401/n158/blob/master/src/cli/initProject.js#L8 · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 27 May 2023)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 27 May 2023)