Description
All versions of marsdb are vulnerable to Command Injection. In the DocumentMatcher class, selectors on $where clauses are passed to a Function constructor unsanitized. This allows attackers to run arbitrary commands in the system when the function is executed.
Recommendation
No fix is available yet. Followings are affected versions:
- >= 0.0.0
References
Related Issues
- Command Injection in ascii-art - Vulnerability
- chromedriver Command Injection vulnerability - CVE-2023-26156
- automagik-genie has a command injection vulnerability - CVE-2026-30635
- Saltcorn's Reflected XSS and Command Injection vulnerabilities can be chained for 1-click-RCE - Vulnerability
You might also like:
- Tags:
- npm
- marsdb
Anything's wrong? Let us know Last updated on January 09, 2023


