CVE-2025-57285CRITICAL 9.8EPSS p79.9%

CVE-2025-57285CVE-2025-57285

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.

Scoring

CVSS 3.19.8 (CRITICAL)
VectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS2.17% probability of exploitation · percentile 79.9% · 2026-06-19T12:03:05Z
Published2025-09-08
Last modified2025-09-12

Underlying weaknesses· 1

CWE-77

References

  1. https://gist.github.com/Dremig/1ba111f9b1f7cffe1fcb4838b64e55b9
  2. https://www.npmjs.com

1

TypeTargetConfidenceTier
WeaknessImproper Neutralization of Special Elements used in a Command ('Command Injection')cwe-770%live

Related by meaning· 6

Nearest entities by semantic similarity across the cs-graph corpus.

CVE
CVE-2025-62354
CVE
CVE-2025-63706
CVE
CVE-2025-55345
CVE
CVE-2025-59272
CVE
CVE-2025-28384
CVE
CVE-2025-3115
Sourced from NVD + FIRST.org EPSS. Curated for EU compliance use cases by Adam Lundqvist, Founder at SQUR.