{"id":"CVE-2020-7678","aliases":["CVE-2020-7678","GHSA-pc62-cq5x-3j5g"],"related":[],"kind":"vulnerability","state":"published","title":"Arbitrary Code Execution","summary":"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\".","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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\".","source":"cvelist"},{"lang":"en","text":"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`.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Esto afecta a todas las versiones del paquete node-import. El argumento \"params\" de la función del módulo puede ser controlado por usuarios sin ningún tipo de saneo.b. Esto es luego proporcionado a la función \"eval\" ubicada en la línea 79 en el archivo index \"index.js\"","source":"nvd"}],"published":"2022-07-25T14:07:56.881Z","modified":"2026-06-17T03:25:14.990Z","severity":{"scorer":"snyk","scheme":"CVSS:3.1","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","score":8.6,"rating":"HIGH"},"severities":[{"scorer":"snyk","scheme":"CVSS:3.1","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","score":8.6,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":[],"affected":[{"ranges":[{"type":"custom","introduced":"0","fixed":"unspecified","status":"affected"}],"product":"node-import","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"0.9.2"}],"ecosystem":"npm","package":"node-import","purl":"pkg:npm/node-import","source":"ghsa"},{"ranges":[],"vendor":"node-import_project","product":"node-import","cpe":"cpe:2.3:a:node-import_project:node-import:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/mahdaen/node-import/blob/master/index.js%23L79","tags":["broken-link","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7678","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/mahdaen/node-import","tags":["package"],"sources":["ghsa"]}],"credits":["JHU System Security Lab"],"assigner":"snyk","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2020-7678","url":"https://www.cve.org/CVERecord?id=CVE-2020-7678","licence":"CVE Terms of Use","modified":"2024-09-17T01:36:04.103Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pc62-cq5x-3j5g","url":"https://github.com/advisories/GHSA-pc62-cq5x-3j5g","licence":"CC-BY-4.0","modified":"2023-11-08T04:04:04.280Z"},{"source":"nvd","name":"NVD","id":"CVE-2020-7678","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7678","licence":"Public domain","modified":"2026-06-17T03:25:14.990Z"}],"updatedAt":"2026-11-25T22:57:58.691Z","epss":{"score":0.0116,"percentile":0.68039,"date":"2026-12-01T12:00:22.000Z"}}