# GHSA-mxmj-84q8-34r7: Command Injection in expressfs

- Severity: High (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-03T02:39:49.000Z
- Modified: 2020-08-31T18:41:47.000Z
- Weaknesses: CWE-77

## 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.

(As written by GitHub Advisory Database.)

## Affected

- expressfs (npm): all versions

## References

- <https://www.npmjs.com/advisories/953> (web)

## Sources

- GitHub Advisory Database: [GHSA-mxmj-84q8-34r7](https://github.com/advisories/GHSA-mxmj-84q8-34r7), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-mxmj-84q8-34r7 · Whole record: https://cve.day/GHSA-mxmj-84q8-34r7.json · Rebuilt by cve.day 2026-11-25T22:56:46.038Z
