npm package report

Is codeceptjs safe?

1 known vulnerability, worst severity CRITICAL.

cvss
9.8

how bad it is if exploited, out of 10

epss
2.2%

chance of exploitation in the next 30 days

xyz score
4.0

CyberXYZ composite, out of 10

fig. 01 — GHSA-34w8-mcwr-vg29, the advisory selected below

// advisories

GHSA-34w8-mcwr-vg29

CRITICALCVE-2025-57285

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.

Affected
>= 3.5.0, < 3.7.5
Fixed in
3.7.5
Weakness
CWE-77
Published
2025-09-08
Source
github

GHSANVDMITREreferencereferencereferencereference


// ai model usage

Tracked for PyPI packages. HuggingFace models declare Python dependencies, so npm packages are not covered.


Checked 2026-09-22 at 01:30 UTC. The most recent advisory here was published 2025-09-08. Updated continuously from NVD, GHSA, OSV and CNA feeds.

Think a verdict here is wrong? Tell us — we respond within 2 business days.
Is codeceptjs safe? npm package security report | CyberXYZ