🛡️ GHSA-p9fg-j6ww-953m — rest-bundle
Description
FOSRestBundle issue with broken validation of JSONP callbacks
Starting with FOSRestBundle 1.2 we [switched](https://github.com/FriendsOfSymfony/FOSRestBundle/pull/642/files#diff-431bc57ca9ca16332c0cff43ad45263cR37) to using [willdurand/jsonp-callback-validator](https://github.com/willdurand/JsonpCallbackValidator) for validation of JSONP callbacks. However [the change was implemented](https://github.com/FriendsOfSymfony/FOSRestBundle/pull/665) 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](https://github.com/FriendsOfSymfony/FOSRestBundle/releases/tag/1.2.2).
Affected software
GHSA-p9fg-j6ww-953m is recorded against 1 package.
- friendsofsymfony/rest-bundle (from 1.2.0 up to 1.2.2)
Timeline and source
Published on 15 May 2024 and last revised on 29 November 2024. No public exploit is currently recorded for this entry. Record sourced from OSV.
References
github.com (Web)
github.com (Web)
github.com (Package)
symfony.com (Web)
Details
Affected Packages
| Software | From version | Fixed in |
|---|---|---|
| friendsofsymfony/rest-bundle | 1.2.0 | 1.2.2 |
Free Vulnerability Check
Is your site affected by GHSA-p9fg-j6ww-953m?
BotEraser helps you identify potentially vulnerable plugins and themes by checking your installation against GHSA-p9fg-j6ww-953m and other known CVE records.
Scan My Site Free →No credit card required · Results in minutes
ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.