نسخههای متأثر
npmcodeceptjs
- نسخههای متأثر
- >= 3.5.0, < 3.7.5
- نسخهٔ اصلاحشده
- 3.7.5
بهرهبرداری
شرح آسیبپذیری
CodeceptJS versions 3.5.0 through 3.7.5-beta.18 contain a command injection vulnerability in the emptyFolder function (lib/utils.js). The execSync command directly concatenates the user-controlled directoryPath parameter without sanitization or escaping, allowing attackers to execute arbitrary commands.
پیوندها
- https://gist.github.com/Dremig/1ba111f9b1f7cffe1fcb4838b64e55b9
- https://github.com/advisories/GHSA-34w8-mcwr-vg29
- https://github.com/codeceptjs/CodeceptJS
- https://github.com/codeceptjs/CodeceptJS/pull/3604
- https://github.com/codeceptjs/CodeceptJS/pull/5190
- https://nvd.nist.gov/vuln/detail/CVE-2025-57285
- https://www.npmjs.com
گزارشدهندگان
- mhassan1

