PT-2025-36489 · Unknown · Codeceptjs
Dremig
·
Published
2025-09-08
·
Updated
2025-09-12
·
CVE-2025-57285
CVSS v3.1
9.8
Critical
| Vector | AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Name of the Vulnerable Software and Affected Versions:
codeceptjs version 3.7.3
Description:
codeceptjs version 3.7.3 contains a command injection issue in the
emptyFolder function located in lib/utils.js. The execSync command directly concatenates the user-controlled directoryPath parameter without sanitization or escaping, potentially allowing attackers to execute arbitrary commands.Recommendations:
At the moment, there is no information about a newer version that contains a fix for this vulnerability.
Exploit
Command Injection
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Codeceptjs