En bref
- CVE-2025-57285 est une vulnérabilité CRITIQUE (CVSS 9.8) touchant codeceptjs (codecept), codeceptjs.
- Probabilité d'exploitation dans les 30 prochains jours (EPSS) : 2.2%, plus élevée que 82.3% des vulnérabilités.
- Correctif : mettre à jour vers 3.7.5 ou plus récent.
| 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