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

exploitDog

github логотип

GHSA-p9fg-j6ww-953m

Опубликовано: 15 мая 2024
Источник: github
Github: Прошло ревью

Описание

FOSRestBundle issue with broken validation of JSONP callbacks

Starting with FOSRestBundle 1.2 we switched to using willdurand/jsonp-callback-validator for validation of JSONP callbacks. However the change was implemented incorrectly validating the callback query param name, rather than its value. Anyone using the JSONP handler (which is off by default) together with FOSRestBundle 1.2.0 or 1.2.1 should update to FOSRestBundle 1.2.2.

Пакеты

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

friendsofsymfony/rest-bundle

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

>= 1.2.0, < 1.2.2

1.2.2