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

exploitDog

github логотип

GHSA-j2gw-r24m-j2qw

Опубликовано: 05 фев. 2025
Источник: github
Github: Прошло ревью
CVSS4: 7.8
CVSS3: 8.2

Описание

Browsershot Path Traversal

Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content.

Пакеты

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

spatie/browsershot

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

< 5.0.5

5.0.5

EPSS

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

7.8 High

CVSS4

8.2 High

CVSS3

Дефекты

CWE-20
CWE-22

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

CVSS3: 8.2
nvd
около 1 года назад

Versions of the package spatie/browsershot before 5.0.5 are vulnerable to Improper Input Validation in the setHtml function, invoked by Browsershot::html(), which can be bypassed by omitting the slashes in the file URI (e.g., file:../../../../etc/passwd). This is due to missing validations of the user input that should be blocking file URI schemes (e.g., file:// and file:/) in the HTML content.

EPSS

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

7.8 High

CVSS4

8.2 High

CVSS3

Дефекты

CWE-20
CWE-22