Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:npm/codeceptjs@3.7.5-beta.8
purl pkg:npm/codeceptjs@3.7.5-beta.8
Next non-vulnerable version 3.7.5
Latest non-vulnerable version 4.0.0-beta.1
Risk 4.5
Vulnerabilities affecting this package (1)
Vulnerability Summary Fixed by
VCID-7zhk-hgkn-qudf
Aliases:
CVE-2025-57285
GHSA-34w8-mcwr-vg29
CodeceptJS's incomprehensive sanitation can lead to Command Injection CodeceptJS versions 3.5.0 through 3.7.5-beta.18 contain 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.
3.7.5
Affected by 0 other vulnerabilities.
4.0.0-beta.1
Affected by 0 other vulnerabilities.
Vulnerabilities fixed by this package (0)
Vulnerability Summary Aliases
This package is not known to fix vulnerabilities.

Date Actor Action Vulnerability Source VulnerableCode Version
2026-06-06T06:04:54.828789+00:00 GitLab Importer Affected by VCID-7zhk-hgkn-qudf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/npm/codeceptjs/CVE-2025-57285.yml 38.6.0