Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-34w8-mcwr-vg29

Опубликовано: 08 сент. 2025
Источник: github
Github: Прошло ревью
CVSS3: 9.8

Описание

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.

Пакеты

Наименование

codeceptjs

npm
Затронутые версииВерсия исправления

>= 3.5.0, < 3.7.5

3.7.5

EPSS

Процентиль: 78%
0.01171
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-77

Связанные уязвимости

CVSS3: 9.8
nvd
5 месяцев назад

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.

EPSS

Процентиль: 78%
0.01171
Низкий

9.8 Critical

CVSS3

Дефекты

CWE-77