codeceptjs/CodeceptJS

codeceptjs/CodeceptJS

Releases184
Frequency2 weeks 5 days
Last Release
Stars4.23K
Supercharged End 2 End Testing Framework for NodeJS

CVE History

CVEAffectedPublishedCVSS v3CVSS v2
= 3.7.3, >= 3.5.0, < 3.7.59.8 CRITICAL

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.