GHSA-5mrr-rgp6-x4gr
Command Injection in marsdb
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 currently available. Consider using an alternative package until a fix is made available.
What each source reports
GitHub AdvisoriesNo score
Command Injection in marsdb
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 currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-5mrr-rgp6-x4gr- Weakness
- CWE-77
- Updated
- 2026-11-02
OSVNo score
Command Injection in marsdb
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 currently available. Consider using an alternative package until a fix is made available.
- Record
GHSA-5mrr-rgp6-x4gr- Weakness
- CWE-77
- Updated
- 2026-11-02
Affected packages
| Package | Affected | Fixed |
|---|---|---|
marsdbnpm | 0.0.0 and later | None known |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | GitHub Advisories, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
GHSA-5mrr-rgp6-x4gr is a vulnerability with no CVSS score yet in marsdb, published September 3, 2020. No source lists public exploit code. No source names a fixed version.