CVE-2025-57285 – Codeceptjs Command Injection Vulnerability

The following table lists the changes that have been made to the
CVE-2025-57285 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution
of a vulnerability, and for identifying the most recent changes that may
impact the vulnerability’s severity, exploitability, or other characteristics.

  • New CVE Received
    by [email protected]

    Sep. 08, 2025

    Action Type Old Value New Value
    Added 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.
    Added Reference https://gist.github.com/Dremig/1ba111f9b1f7cffe1fcb4838b64e55b9
    Added Reference https://www.npmjs.com
Share the Post:

Related Posts