Kurz gesagt
- CVE-2025-57285 ist eine Schwachstelle (KRITISCH (CVSS 9.8)) in codeceptjs (codecept), codeceptjs.
- Wahrscheinlichkeit einer Ausnutzung in den nächsten 30 Tagen (EPSS): 2.2%, höher als bei 82.3% aller Schwachstellen.
- Abhilfe: auf 3.7.5 oder neuer aktualisieren.
| Package | Affected versions | Patched versions |
|---|
| codeceptjs | = 3.7.3
| No fix yet |
| codeceptjs npm | ≥ 3.5.0, < 3.7.5
| 3.7.5
|
Description
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.
NVD description
codeceptjs 3.7.3 contains 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.
Running one of these products? Scan your site to see whether it exposes a vulnerable version.
Scan my site free