PT-2026-166358
CVE-2026-142642
·
Published
2026-12-02
·
Updated
2026-12-02
Description by
CVSS 3.1
5.4
MediumMetricsAV:N/AC:L/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
Blade component attribute bags fail to HTML-escape non-Htmlable object values, such as
IlluminateSupportStringable, when passed to the ComponentAttributeBag::merge() or prepends() functions. If an application places user-controlled Stringable values into component attributes, an attacker can break out of the attribute to inject arbitrary attributes, including event handlers. This leads to cross-site scripting (XSS), where malicious scripts execute within the application origin.Recommendations
Update to version 13.43.0 or later.
Update to version 12.73.0 or later.
Found an issue in the description? Have something to add? Feel free to write us 👾