In breve
- CVE-2025-57285 è una vulnerabilità CRITICO (CVSS 9.8) che riguarda codeceptjs (codecept), codeceptjs.
- Probabilità di sfruttamento nei prossimi 30 giorni (EPSS): 2.2%, superiore al 82.3% delle vulnerabilità.
- Correzione: aggiornare a 3.7.5 o successiva.
| 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