GHSA-34w8-mcwr-vg29 · Severity: critical · Ecosystem: npm — CodeceptJS's incomprehensive sanitation can lead to Command Injection
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.
Conclusion & alert: CVE-2025-57285 is rated High Exploit Risk (85.2/100): CVSS Critical severity, with medium exploitation likelihood (EPSS 3.32%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-04 | 2.92% | 3.32% | +0.40% |
| 2 | 2026-05-25 | 1.99% | 2.92% | +0.93% |
| 3 | 2026-05-14 | — | 1.99% | — |
Full EPSS history (14 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | 134c704f-9b21-4f2e-91b3-4a467353bcc0 |
GHSA-34w8-mcwr-vg29 · Severity: critical · Ecosystem: npm — CodeceptJS's incomprehensive sanitation can lead to Command Injection
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| codecept | codeceptjs | 3.7.3 | cpe:2.3:a:codecept:codeceptjs:3.7.3:*:*:*:*:node.js:*:* |
| URL | Tags |
|---|---|
| https://gist.github.com/Dremig/1ba111f9b1f7cffe1fcb4838b64e55b9 | Exploit Third Party Advisory |
| https://www.npmjs.com | Product |