CVE-2025-57285CRITICAL 9.8EPSS p79.9%
CVE-2025-57285CVE-2025-57285
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.
Scoring
| CVSS 3.1 | 9.8 (CRITICAL) |
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 2.17% probability of exploitation · percentile 79.9% · 2026-06-19T12:03:05Z |
| Published | 2025-09-08 |
| Last modified | 2025-09-12 |
Underlying weaknesses· 1
References
1
| Type | Target | Confidence | Tier |
|---|---|---|---|
| Weakness | Improper Neutralization of Special Elements used in a Command ('Command Injection')cwe-77 | 0% | live |
Related by meaning· 6
Nearest entities by semantic similarity across the cs-graph corpus.