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
- Seroval affected by Denial of Service via Array serialization - CVE-2026-23957
- QuestDB UI's Web Console is Vulnerable to Cross-Site Scripting - CVE-2026-0824
- XSS in the `of` option of the `.position()` util in jquery-ui - CVE-2021-41184
- The AuthKit Remix Library renders sensitive auth data in HTML - CVE-2025-55009
- Tags:
- npm
- shelljs
Anything's wrong? Let us know Last updated on January 11, 2023