CVE-2026-142638: Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components
Vulnerability summary
CVE-2026-142638 is a medium (CVSS 4.2) vulnerability in laravel framework. EPSS estimates a 0.29% chance of exploitation in the next 30 days, higher than 23.4% of scored vulnerabilities.
Not severe (CVSS 4.2, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 03-12-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST4.2MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.29%
Chance of exploitation in the next 30 days
Percentile
23%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- linuxserver-heimdalAll versions (No fix recorded)
Laravel1 product
- framework≥ 13.0.0, < 13.43.0 | < 12.73.0
2 vendors · 2 products
References
7 links- github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mprX Refsource CONFIRM
- github.com/laravel/framework/pull/62455X Refsource MISC
- github.com/laravel/framework/pull/62456X Refsource MISC
- github.com/laravel/framework/releases/tag/v12.73.0X Refsource MISC
- github.com/laravel/framework/releases/tag/v13.43.0X Refsource MISC