Laravel: Cross-Origin Auth Token Leakage Through Broadcasting JSONP CallbackGHSA-ww2c-pqp9-rvrq
LOWFix: laravel/framework#58971GHSA-ww2c-pqp9-rvrq is a low-severity (CVSS 3.1) CWE-346 vulnerability in laravel/framework. A fix is available for laravel/framework — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-ww2c-pqp9-rvrq.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
laravel/frameworkReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.
Description
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.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐘Packagist | laravel/framework | all versions | 12.53.0composer require laravel/framework:^12.53.0 |
Detection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for laravel/framework, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update laravel/framework to 12.53.0 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-ww2c-pqp9-rvrq is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-ww2c-pqp9-rvrq in your dependencies?
Find it across Packagist, including transitive dependencies.