همهٔ گزارش‌ها
بحرانی

CodeceptJS's incomprehensive sanitation can lead to Command Injection

متن اصلی

نسخه‌های متأثر

نسخه‌های متأثر
>= 3.5.0, < 3.7.5
نسخهٔ اصلاح‌شده
3.7.5

بهره‌برداری

CVE-2025-57285

احتمال بهره‌برداری در ۳۰ روز آینده: 2.17%

FIRST EPSS · ۱۴۰۵/۰۸/۳۰

شرح آسیب‌پذیری

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.

پیوندها

گزارش‌دهندگان

  • mhassan1