CVE-2026-142638
Description
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Blade's <x-dynamic-component> did not HTML-escape bound attributes (:attr="$value") when the target resolved to a class-based component. If user-controlled data was bound to an attribute that is not a constructor parameter and the component outputs {{ $attributes }}, the value could break out of the HTML attribute and lead to cross-site scripting (XSS). The same component rendered with its normal tag escaped the value correctly. Anonymous component targets were not affected. Existing compiled views retain the vulnerable behavior until they are cleared or recompiled with php artisan view:clear or php artisan view:cache. This issue is fixed in versions 13.43.0 and 12.73.0.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
References
- https://github.com/laravel/framework/commit/6ba5a0ba058389f3b72338a3fe2c9cd04240c93c
- https://github.com/laravel/framework/commit/98d49e77d3820f6ad4f9718efba7f236fff972c7
- https://github.com/laravel/framework/pull/62455
- https://github.com/laravel/framework/pull/62456
- https://github.com/laravel/framework/releases/tag/v12.73.0
- https://github.com/laravel/framework/releases/tag/v13.43.0
- https://github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mpr
CWEs
CWE-79
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.