CVE-2025-57285
CodeceptJS's incomprehensive sanitation can lead to Command Injection
Sévérité par source
Le label propre à Trivy est CRITICAL. Critique selon GHSA.
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.
Paquets affectés et versions corrigées
| Source | Paquet | Corrigé en |
|---|---|---|
| npm::GitHub Security Advisory npm | codeceptjs | 3.7.5 |