PT-2025-36489 · Unknown · Codeceptjs

Dremig

·

Published

2025-09-08

·

Updated

2025-09-08

·

CVE-2025-57285

CVSS v3.1
9.8
VectorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Name of the Vulnerable Software and Affected Versions:

codeceptjs version 3.7.3

Description:

codeceptjs version 3.7.3 contains a command injection issue in the `emptyFolder` function located in `lib/utils.js`. The `execSync` command directly concatenates the user-controlled `directoryPath` parameter without sanitization or escaping, potentially allowing attackers to execute arbitrary commands.

Recommendations:

At the moment, there is no information about a newer version that contains a fix for this vulnerability.

Command Injection

Weakness Enumeration

Related Identifiers

CVE-2025-57285

Affected Products

Codeceptjs