Security mailing lists by PureSourceCode

GHSA-p9fg-j6ww-953m

MEDIUM

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.

Published
15 May 2024
Last modified
29 Nov 2024
Sources
OSVJSON

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist friendsofsymfony/rest-bundle >= 1.2.0, < 1.2.2 1.2.2

References

History

  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 15 May 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.