Vulnerability library
Security checkJanuary 27, 2023

node-import `params` argument can be controlled by users without any sanitization

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

High severitynpmnode-import

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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.

Recommendation

No fix is available yet. Followings are affected versions:

  • <= 0.9.2

References

Could your website be exposed too?

SmartScanner can check your website for node-import `params` argument can be controlled by users without any sanitization and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 27, 2023