Laravel: Cross-Origin Auth Token Leakage Through Broadcasting JSONP Callback
Published 3 Dec 2026 · Updated 3 Dec 2026
Affected package
- Affected
- <12.53.0
- Fixed in
- 12.53.0
composer require laravel/framework:^12.53.0Which laravel/framework does your project really install?
Works for private projects: the file is read in memory to run the scan and then dropped. Also reads composer.json.
Public repo?
Look after several Laravel or PHP apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Details
Summary
The Pusher and Reverb broadcasters answered the /broadcasting/auth endpoint with a JSONP response when a callback parameter was present. The endpoint also accepts GET requests without CSRF protection. A malicious page could therefore load the endpoint as a script and read the channel auth token of a logged-in user.
With that token, an attacker could subscribe to the user's private and presence channels and receive their events. With the default SameSite=Lax session cookie, the attacker's page has to be on a subdomain of the same site. Applications using SameSite=None could be attacked from any domain.
Patch
- Fixed in #58971. JSONP responses are now off by default and must be enabled with the
jsonpbroadcasting config option.
Is GHSA-ww2c-pqp9-rvrq in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected laravel/framework, and gives you the command that fixes it.
More advisories for laravel/framework
- HighCVE-2026-142610Laravel: Numeric validation can exhaust resources via extreme exponent input · 4 Dec 2026
- MediumCVE-2026-142637Laravel: Fluent Rule::exists() and Rule::unique() where() values can be interpreted as reserved predicates instead of literal values · 3 Dec 2026
- MediumCVE-2026-142644Laravel: Quadratic regex backtracking in the decimal validation rule can cause denial of service · 3 Dec 2026
- MediumCVE-2026-142649Laravel: `in` / `Rule::in` validation rule bypass via loose comparison · 3 Dec 2026
- MediumCVE-2026-142643Laravel: Validation exists rule can be bypassed with integer or boolean input on MySQL/MariaDB · 3 Dec 2026
- MediumCVE-2026-142624 Laravel: Nested sometimes validation rules skipped when value is __missing__ · 3 Dec 2026
References
- Linkgithub.com/laravel/framework/security/advisories/GHSA-ww2c-pqp9-rvrq
- Advisorynvd.nist.gov/vuln/detail/CVE-2026-142622
- Linkgithub.com/laravel/framework/pull/58971
- Linkgithub.com/laravel/framework/commit/4a92d0d9fed2a1539291732d18c8578316069bfd
- Packagegithub.com/laravel/framework
- Linkgithub.com/laravel/framework/releases/tag/v12.53.0
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.