PT-2026-166356
CVE-2026-142638
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
4.2
MediumMetricsAV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Name of the Vulnerable Software and Affected Versions
Laravel versions prior to 13.43.0
Laravel versions prior to 12.73.0
Description
In the Blade templating engine, the
<x-dynamic-component> fails to HTML-escape bound attributes when the target is a class-based component. If user-controlled data is bound to an attribute that is not a constructor parameter and the component outputs {{ $attributes }}, an attacker can break out of the HTML attribute to execute cross-site scripting (XSS), which is a technique used to inject malicious scripts into web pages viewed by other users.Recommendations
Update Laravel to version 13.43.0 or later.
Update Laravel to version 12.73.0 or later.
Clear or recompile existing compiled views using the commands
php artisan view:clear or php artisan view:cache. Found an issue in the description? Have something to add? Feel free to write us 👾