CVE-2020-7678
CRITICAL 9.8CVSS 3.1node-import `params` argument can be controlled by users without any sanitization
This affects all versions of package node-import. The "params" argument of module function can be controlled by users without any sanitization.b. This is then provided to the “eval” function located in line 79 in the index file "index.js".
- Published
- 25 Jul 2022
- Last modified
- 17 Jun 2026
- Assigned by
- report@snyk.io
- NVD status
- Modified
- Also known as
- GHSA-pc62-cq5x-3j5g
- Sources
- NVDJSONOSV GHSA-pc62-cq5x-3j5gJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| 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 |
| NVD | report@snyk.io (Secondary) | CVSS 3.1 | HIGH 8.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | node-import_project | node-importcpe:2.3:a:node-import_project:node-import:*:*:*:*:*:node.js:*:* |
all versions | |
| OSV | npm | node-import | <= 0.9.2 |
References
- https://github.com/mahdaen/node-import/blob/master/index.js%23L79 · Broken Link, Third Party Advisory, WEB
- https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691 · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2020-7678 · ADVISORY
- https://github.com/mahdaen/node-import · PACKAGE
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 25 Jul 2022)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 26 Jul 2022)