{"id":"CVE-2025-57285","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-57285","generatedAt":"2026-10-28T01:13:42.294Z","title":"codeceptjs 3.7.3 contains a command injection vulnerability in the emptyFolder function (lib/utils.js).","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.","published":"2025-09-08T18:15:34.000Z","lastModified":"2026-06-17T09:43:00.000Z","status":"Analyzed","sourceIdentifier":"cve@mitre.org","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"cwe":["CWE-77"],"affected":["codecept/codeceptjs"],"epss":{"score":0.02169,"percentile":0.82145,"date":"2026-10-26","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (2.17%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://gist.github.com/Dremig/1ba111f9b1f7cffe1fcb4838b64e55b9","tags":["Exploit","Third Party Advisory"],"source":"cve@mitre.org"},{"url":"https://www.npmjs.com","tags":["Product"],"source":"cve@mitre.org"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-57285","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}