{"id":"GHSA-mxmj-84q8-34r7","aliases":["GHSA-mxmj-84q8-34r7"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in expressfs","summary":"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.","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"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.","format":"markdown","source":"ghsa"}],"published":"2020-09-03T02:39:49.000Z","modified":"2020-08-31T18:41:47.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"npm","package":"expressfs","purl":"pkg:npm/expressfs","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/953","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-mxmj-84q8-34r7","url":"https://github.com/advisories/GHSA-mxmj-84q8-34r7","licence":"CC-BY-4.0","modified":"2020-08-31T18:41:47.000Z"}],"updatedAt":"2026-11-25T22:56:46.038Z"}