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.

INFO

Published Date :

2025-09-08T00:00:00.000Z

Last Modified :

2025-09-08T19:40:26.439Z

Source :

mitre
AFFECTED PRODUCTS

The following products are affected by CVE-2025-57285 vulnerability.

Vendors Products
Codecept
  • Codeceptjs
REFERENCES

Here, you will find a curated list of external links that provide in-depth information to CVE-2025-57285.

CVSS Vulnerability Scoring System

Detailed values of each vector for above chart.
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact