{"id":"GHSA-mxmj-84q8-34r7","aliases":[],"status":"published","title":"Command Injection in expressfs","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`.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2020-09-03T02:39:49Z","modified":"2023-01-09T05:03:49Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"expressfs","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}]},{"source":"osv","ecosystem":"npm","package":"expressfs","ranges":[{"type":"SEMVER","events":[{"introduced":"0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/953","tags":["web"]},{"url":"https://github.com/advisories/GHSA-mxmj-84q8-34r7"}],"sources":{"ghsa":[{"id":"GHSA-mxmj-84q8-34r7","title":"Command Injection in expressfs","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`.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","status":"published","published":"2020-09-03T02:39:49Z","modified":"2023-01-09T05:03:49Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:06.884904Z"}],"osv":[{"id":"GHSA-mxmj-84q8-34r7","title":"Command Injection in expressfs","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`.\n\n\n## Recommendation\n\nNo fix is currently available. Consider using an alternative module until a fix is made available.","status":"published","published":"2020-09-03T02:39:49Z","modified":"2020-08-31T18:41:47Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:52.534897Z"}]}}
