{"id":"GHSA-pc62-cq5x-3j5g","summary":"node-import `params` argument can be controlled by users without any sanitization","details":"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`.","aliases":["CVE-2020-7678"],"modified":"2023-11-08T04:04:04.280992Z","published":"2022-07-26T00:01:05Z","database_specific":{"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2022-08-06T09:35:27Z","nvd_published_at":"2022-07-25T14:15:00Z","cwe_ids":[]},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2020-7678"},{"type":"PACKAGE","url":"https://github.com/mahdaen/node-import"},{"type":"WEB","url":"https://github.com/mahdaen/node-import/blob/master/index.js%23L79"},{"type":"WEB","url":"https://security.snyk.io/vuln/SNYK-JS-NODEIMPORT-571691"}],"affected":[{"package":{"name":"node-import","ecosystem":"npm","purl":"pkg:npm/node-import"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.9.2"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2022/07/GHSA-pc62-cq5x-3j5g/GHSA-pc62-cq5x-3j5g.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"}]}