{"id":"GHSA-j6v9-xgvh-f796","aliases":["GHSA-j6v9-xgvh-f796"],"related":[],"kind":"vulnerability","state":"published","title":"Command Injection in wxchangba","summary":"All versions of `wxchangba` are vulnerable to Command Injection. The package does not validate user input on the `reqPostMaterial` function, passing contents of the `file` parameter to an exec call. This may allow attackers to run arbitrary commands in the system.\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 `wxchangba` are vulnerable to Command Injection. The package does not validate user input on the `reqPostMaterial` function, passing contents of the `file` parameter to an exec call. This may allow attackers to run arbitrary commands in the system.\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-11T21:11:34.000Z","modified":"2020-08-31T18:42:04.000Z","severity":{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"},"severities":[{"scorer":"GitHub","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-77"],"affected":[{"ranges":[{"type":"semver","introduced":"0.0.0","status":"affected"}],"ecosystem":"npm","package":"wxchangba","purl":"pkg:npm/wxchangba","source":"ghsa"}],"references":[{"url":"https://www.npmjs.com/advisories/960","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-j6v9-xgvh-f796","url":"https://github.com/advisories/GHSA-j6v9-xgvh-f796","licence":"CC-BY-4.0","modified":"2020-08-31T18:42:04.000Z"}],"updatedAt":"2026-11-25T22:56:45.732Z"}