Skip to content
OpenAdvisories
High GHSA-mxmj-84q8-34r7

Command Injection in expressfs

Published Sep 3, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

Description

All versions of `expressfs` are vulnerable to Command Injection. The package does not validate user input on several API endpoints, allowing attackers to run arbitrary commands in the system. The affected endpoints are: `expressfs.appendFile`, `expressfs.cp`, `expressfs.create` and `expressfs.rmdir`.

## Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

Affected packages

EcosystemPackageAffectedFixedRecord
npm expressfs all versions — GHSA-mxmj-84q8-34r7

References