Vulnerability

CVE-2025-57285

criticalCVSS 3.1 9.8Published 8 Sep 2025

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Codecept codeceptjs

Weakness type

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning