Skip to content
OpenAdvisories
Medium GHSA-j6v9-xgvh-f796

Command Injection in wxchangba

Published Sep 11, 2020 · Updated Aug 31, 2020 · Assigned by GHSA

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.

## Recommendation

No fix is currently available. Consider using an alternative module until a fix is made available.

Affected packages

EcosystemPackageAffectedFixedRecord
npm wxchangba >= 0.0.0 — GHSA-j6v9-xgvh-f796

References