{"id":"GHSA-j6v9-xgvh-f796","summary":"Command Injection in wxchangba","details":"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.","modified":"2020-08-31T18:42:04Z","published":"2020-09-11T21:11:34Z","database_specific":{"nvd_published_at":null,"cwe_ids":["CWE-77"],"severity":"MODERATE","github_reviewed":true,"github_reviewed_at":"2020-08-31T18:42:04Z"},"references":[{"type":"WEB","url":"https://www.npmjs.com/advisories/960"}],"affected":[{"package":{"name":"wxchangba","ecosystem":"npm","purl":"pkg:npm/wxchangba"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0.0.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2020/09/GHSA-j6v9-xgvh-f796/GHSA-j6v9-xgvh-f796.json"}}],"schema_version":"1.9.0"}