CVE-2026-142638: Laravel · Unescaped bound attributes on Blade dynamic components that resolve to class-based components
Affects laravel/frameworkSource GCVE Database
Not known to be exploited · CVSS 4.2 Medium : upgrade to 13.43.0 when convenient.
Data as of 3 Dec 2026, 19:16 UTC
Thin evidence
One scorer or none| CNA (GitHub_M) | CVSS 3.1 | 4.2 |
|---|
- Patch
- Available – fixed in 13.43.0, 12.73.0
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Upgrade laravel/framework to 13.43.0; laravel/framework to 12.73.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| Packagistlaravel/framework | Affected
| Fixed in
|
| Packagistlaravel/framework | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
### Impact 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. ### Patches The fix is merged on the 13.x and 12.x branches: https://github.com/laravel/framework/pull/62455 and https://github.com/laravel/framework/pull/62456. It has not been confirmed as released. Compiled views keep the previous behavior until they are recompiled, so run `php artisan view:clear` or `php artisan view:cache` after upgrading.
References
- github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mpr (opens in a new tab)
- nvd.nist.gov/vuln/detail/CVE-2026-142638 (opens in a new tab)
- github.com/laravel/framework/pull/62455 (opens in a new tab)
- github.com/laravel/framework/pull/62456 (opens in a new tab)
- github.com/laravel/framework/commit/6ba5a0ba058389f3b72338a3fe2c9cd04240c93c (opens in a new tab)
- github.com/laravel/framework/commit/98d49e77d3820f6ad4f9718efba7f236fff972c7 (opens in a new tab)
- github.com/laravel/framework (opens in a new tab)
- github.com/laravel/framework/releases/tag/v12.73.0 (opens in a new tab)
- github.com/laravel/framework/releases/tag/v13.43.0 (opens in a new tab)