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

exploitDog

github логотип

GHSA-3ggm-c5m7-hfv5

Опубликовано: 29 мая 2026
Источник: github
Github: Прошло ревью
CVSS4: 8.7
CVSS3: 8.8

Описание

Spatie Laravel Media Library contains a file upload restriction bypass

Spatie Laravel Media Library before version 11.23.0 contains a file upload restriction bypass in FileAdder::defaultSanitizer(). The sanitizer checks only the final filename suffix, allowing double-extension filenames such as shell.php.jpg to bypass the blocklist, with pathinfo() preserving inner .php stems in saved filenames. The blocklist also omits executable extensions including .php6, .shtml, and .htaccess. The double-extension bypass requires a legacy Apache AddHandler configuration to achieve PHP execution; the incomplete blocklist bypass does not.

Пакеты

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

spatie/laravel-medialibrary

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

< 11.23.0

11.23.0

EPSS

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

8.7 High

CVSS4

8.8 High

CVSS3

Дефекты

CWE-184

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

CVSS3: 8.8
nvd
3 месяца назад

Spatie Laravel Media Library before version 11.23.0 contains a file upload restriction bypass in FileAdder::defaultSanitizer(). The sanitizer checks only the final filename suffix, allowing double-extension filenames such as shell.php.jpg to bypass the blocklist, with pathinfo() preserving inner .php stems in saved filenames. The blocklist also omits executable extensions including .php6, .shtml, and .htaccess. The double-extension bypass requires a legacy Apache AddHandler configuration to achieve PHP execution; the incomplete blocklist bypass does not.

EPSS

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

8.7 High

CVSS4

8.8 High

CVSS3

Дефекты

CWE-184