VYPR
Medium severity4.2NVD Advisory· Published Dec 2, 2026

CVE-2026-142638

CVE-2026-142638

Description

Laravel is a web application framework. Prior to 13.43.0 and 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. 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.

Patches

Vulnerability mechanics

References

7

News mentions

0

No linked articles in our index yet.