Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components
Affected
| Package | Affected versions | Fixed in |
|---|---|---|
| composer:laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 |
| composer:laravel/framework | < 12.73.0 | 12.73.0 |
Blade's 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. Patches The fix is merged on the 13.x and…
Read on GitHub Advisory Database
On 12/04/2026, 03:45 AM, GitHub Advisory Database published "Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components" (type: Advisory). Severity is "Medium" (medium). Related technologies: PHP, Laravel. CVE: CVE-2026-142638.