Skip to content

GHSA-p9fg-j6ww-953m FOSRestBundle issue with broken validation of JSONP callbacks

Unknown
Published
Updated
Exploit status
No public exploit known
Technology
PHP

Description

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
friendsofsymfony/rest-bundle(Packagist) = 1.2.0; = 1.2.1; >= 1.2.0, < 1.2.2 1.2.2 Fixed

Affected products

ProductAffected versionsFixed in
friendsofsymfony/rest-bundle(Packagist) >= 1.2.0, < 1.2.2 1.2.2
friendsofsymfony/rest-bundle(Packagist) = 1.2.0 No fix listed
friendsofsymfony/rest-bundle(Packagist) = 1.2.1 No fix listed

References