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.
References
Configurations
No configuration.
History
02 Dec 2026, 23:18
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-12-02 23:18
Updated : 2026-12-02 23:18
NVD link : CVE-2026-142638
Mitre link : CVE-2026-142638
CVE.ORG link : CVE-2026-142638
JSON object : View
Products Affected
No product.
CWE
CWE-79
Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
