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 scanRelated Issues
- Smoothie vulnerable to Cross-site Scripting when tooltipLabel or strokeStyle are controlled by users - CVE-2022-25929
- @better-auth/sso: SSO provider may allow registration for any org member without a checking their role - CVE-2026-53515
- electerm allows unauthorized users to execute arbitrary commands - CVE-2020-23256
- Plate: Media embed provider metadata can bypass URL sanitization and execute iframe JavaScript - CVE-2026-55596


