Repository navigation
Fix deprecations from Livewire updates without a page path and update dependencies with security advisories - #397
Merged
Cannonb4ll merged 3 commits intoNov 25, 2026
Conversation
Updates laravel/framework, web-auth/webauthn-lib, symfony/filesystem, symfony/html-sanitizer, symfony/http-client, symfony/http-foundation, symfony/http-kernel, symfony/routing, symfony/serializer and symfony/yaml to the releases that fix their open advisories.
… path is rejected Livewire 4.4.8 replayed the persistent middleware for such a snapshot with a null path and method, which raised ltrim() and strtoupper() deprecations. Since 4.4.9 it answers with a 404.
…stead of an app page The 404 page mounts the header, notifications and spotlight search components. Rendered for a failed update, they were signed without the path and method of a page, and Livewire boots that page in its error modal, so every update those components sent was replayed with a null path.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In production we saw two deprecations from Livewire's persistent middleware:
ltrim(): Passing null to parameter #1atPersistentMiddleware.php:170andstrtoupper(): Passing null to parameter #1inRequest::getMethod().The cause: when a request to the Livewire update endpoint fails (a malformed payload is answered with
abort(404)), the app renders its 404 page. That page mounts theheader,notificationsandspotlight-searchcomponents, and on the update route Livewire signs them without apathandmethod. Livewire shows that response in its error modal and boots the components there, so every update they send replays the persistent middleware with a null path and method.The first commit updates the packages
composer auditflags in the current lock (targetedcomposer update --with-dependencies, all within the existing constraints):laravel/framework12.70.2 to 12.74.0: GHSA-63hm-g96r-2m2qweb-auth/webauthn-lib5.3.10 to 5.3.17: GHSA-rxc4-cg58-jrpw, GHSA-8gvp-8vj9-p3q7, GHSA-p8cj-mmjr-5c2m, GHSA-c9p6-r72h-rp3x, GHSA-2jv3-c2vg-rhc4, GHSA-p653-gg6c-rrjwsymfony/http-foundation7.4.22 to 7.4.24: GHSA-xg2q-4rrq-657q, CVE-2026-135802, CVE-2026-135801, CVE-2026-118514symfony/http-kernel7.4.22 to 7.4.24: GHSA-wg5q-m2ww-f3c9symfony/routing7.4.22 to 7.4.24: CVE-2026-118516symfony/http-client6.4.49 to 6.4.51: GHSA-gq53-v8w2-gjhj, GHSA-c7hm-wqwp-f9v8symfony/serializer8.1.10 to 8.1.12: GHSA-pxj9-jh84-vhm5, GHSA-hqp2-7rr8-hf26, CVE-2026-118515symfony/html-sanitizer8.1.10 to 8.1.12: GHSA-q8jq-xrf4-v5j8, GHSA-wm2w-4mgj-vw33, CVE-2026-118517symfony/filesystem8.1.9 to 8.1.12: CVE-2026-135803symfony/yaml8.1.10 to 8.1.12: GHSA-hwfg-qwvh-2wfxcomposer auditis clean afterwards. Both changes touchcomposer.lockin overlapping packages, so they're in one PR with separate commits; happy to split them if you prefer.