# GHSA-j6v9-xgvh-f796: Command Injection in wxchangba

- Severity: Medium (rating, scored by GitHub)
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2020-09-11T21:11:34.000Z
- Modified: 2020-08-31T18:42:04.000Z
- Weaknesses: CWE-77

## 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.

(As written by GitHub Advisory Database.)

## Affected

- wxchangba (npm): from 0.0.0

## References

- <https://www.npmjs.com/advisories/960> (web)

## Sources

- GitHub Advisory Database: [GHSA-j6v9-xgvh-f796](https://github.com/advisories/GHSA-j6v9-xgvh-f796), CC-BY-4.0, modified 2020-08-31

---

Page: https://cve.day/GHSA-j6v9-xgvh-f796 · Whole record: https://cve.day/GHSA-j6v9-xgvh-f796.json · Rebuilt by cve.day 2026-11-25T22:56:45.732Z
