CVE-2025-57285
9.8
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Exploitability: 3.9 / Impact: 5.9
Source: 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary)
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.
Affected (1)
Products: Codecept: Codeceptjs
Configuration A
| Vulnerable Software | Affected Versions |
|---|---|
| Version 3.7.3 |
References (2)
Source: cve@mitre.org
ExploitThird Party Advisory
Timeline
No history available yet.