Description
Output from the synchronous version of shell.exec() may be visible to other users on the same system. You may be affected if you execute shell.exec() in multi-user Mac, Linux, or WSL environments, or if you execute shell.exec() as the root user.
Other shelljs functions (including the asynchronous version of shell.exec()) are not impacted.
Recommendation
Update the shelljs package to the latest compatible version. Followings are version details:
- Affected version(s): < 0.8.5
- Patched version(s): 0.8.5
References
Related Issues
- The AuthKit Remix Library renders sensitive auth data in HTML - CVE-2025-55009
- Strapi allows Server-Side Request Forgery in Webhook function - CVE-2024-52588
- Redoc Prototype Pollution via `Module.mergeObjects` Component - CVE-2024-57083
- Angular Expressions - Remote Code Execution when using locals - CVE-2024-54152
- Tags:
- npm
- shelljs
Anything's wrong? Let us know Last updated on January 11, 2023