{"id":"GHSA-j6v9-xgvh-f796","aliases":[],"status":"published","title":"Command Injection in wxchangba","description":"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.","facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-77"],"published":"2020-09-11T21:11:34Z","modified":"2023-01-09T05:03:38Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"wxchangba","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0.0.0"}]}]},{"source":"osv","ecosystem":"npm","package":"wxchangba","ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}]}],"references":[{"url":"https://www.npmjs.com/advisories/960","tags":["web"]},{"url":"https://github.com/advisories/GHSA-j6v9-xgvh-f796"}],"sources":{"ghsa":[{"id":"GHSA-j6v9-xgvh-f796","title":"Command Injection in wxchangba","description":"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.","status":"published","published":"2020-09-11T21:11:34Z","modified":"2023-01-09T05:03:38Z","cwes":["CWE-77"],"updated_at":"2026-11-02T14:36:05.705235Z"}],"osv":[{"id":"GHSA-j6v9-xgvh-f796","title":"Command Injection in wxchangba","description":"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.","status":"published","published":"2020-09-11T21:11:34Z","modified":"2020-08-31T18:42:04Z","cwes":["CWE-77"],"updated_at":"2026-11-02T15:46:49.977351Z"}]}}
