CVE-2026-142638: laravel framework · Cross-site Scripting
Affects laravel frameworkSource CVE Database V5
Not known to be exploited · CVSS 4.2 Medium : upgrade to 13.43.0 or 12.73.0 when convenient.
Data as of 2 Dec 2026, 23:05 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 2 Dec 2026.
What to do
Upgrade laravel framework to 13.43.0 or 12.73.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| laravelframework | Affected
| Fixed in
|
| laravelframework | Affected
| Fixed in
|
AI-suggested
Upgrade Laravel framework to version 13.43.0 or later, or 12.73.0 or later, where the vulnerability is fixed. Additionally, clear or recompile existing compiled views using 'php artisan view:clear' or 'php artisan view:cache' to remove the vulnerable behavior from cached views.
Description
A cross-site scripting (XSS) vulnerability exists in Laravel framework's Blade <x-dynamic-component> prior to versions 13.43.0 and 12.73.0. The issue arises when user-controlled data is bound to an attribute not defined as a constructor parameter and the component outputs {{ $attributes }}, allowing the value to break out of the HTML attribute context. Anonymous components are not affected. Compiled views retain the vulnerability until cleared or recompiled. This flaw is fixed in Laravel versions 13.43.0 and 12.73.0.
References
- github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mpr (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/releases/tag/v12.73.0 (opens in a new tab)
- github.com/laravel/framework/releases/tag/v13.43.0 (opens in a new tab)