{"id":"CVE-2020-7678","aliases":["EUVD-2022-6382","GHSA-pc62-cq5x-3j5g"],"status":"published","title":"Arbitrary Code Execution","description":"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\".","severity":{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-09","score":0.0116,"percentile":0.6736,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"published":"2022-07-25T14:07:56Z","modified":"2026-06-17T03:25:14Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"node-import","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"0.9.2"}]}]},{"source":"osv","ecosystem":"npm","package":"node-import","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.2"}]}]}],"products":[{"vendor":"node-import_project","product":"node-import"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/mahdaen/node-import/blob/master/index.js%23L79","tags":["x_refsource_MISC","x_transferred","Broken Link","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7678","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-pc62-cq5x-3j5g"},{"url":"https://github.com/mahdaen/node-import","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2020-7678","title":"Arbitrary Code Execution","description":"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\".","status":"published","published":"2022-07-25T14:07:56.881Z","modified":"2024-09-17T01:36:04.103Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C","level":"high","assessor":"cna"}],"updated_at":"2026-11-02T14:35:58.331892Z"}],"euvd":[{"id":"EUVD-2022-6382","description":"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\".","status":"published","published":"2022-07-25T14:07:56Z","modified":"2024-09-17T01:36:04Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L/E:P/RL:U/RC:C","level":"high"}],"updated_at":"2026-11-03T00:28:48.402396Z"}],"ghsa":[{"id":"GHSA-pc62-cq5x-3j5g","title":"node-import `params` argument can be controlled by users without any sanitization","description":"This affects all versions of package node-import. The `params` argument of module function can be controlled by users without any sanitization. This is then provided to the “eval” function located in line 79 in the index file `index.js`.","status":"published","published":"2022-07-26T00:01:05Z","modified":"2023-01-27T05:07:06Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T14:36:21.8171Z"}],"nvd":[{"id":"CVE-2020-7678","description":"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\".","status":"published","published":"2022-07-25T14:15:10.1Z","modified":"2026-06-17T03:25:14.99Z","cvss":[{"version":"3.1","score":8.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:L","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"updated_at":"2026-11-02T14:06:46.951463Z"}],"osv":[{"id":"GHSA-pc62-cq5x-3j5g","title":"node-import `params` argument can be controlled by users without any sanitization","description":"This affects all versions of package node-import. The `params` argument of module function can be controlled by users without any sanitization. This is then provided to the “eval” function located in line 79 in the index file `index.js`.","status":"published","published":"2022-07-26T00:01:05Z","modified":"2023-11-08T04:04:04.280992Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"updated_at":"2026-11-02T15:46:52.891208Z"}]}}
