CVE-2026-142638 — laravel framework
One of 19 laravel framework vulnerabilities published together by NVD: our article covers all of them.
PHPWebVulnerabilitiesSummary
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.
Severity breakdown
Medium · 4.2
An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- high (only works under specific conditions)
- Login needed
- no
- User action needed
- yes, someone must click, open or visit something
- Scope
- stays within the vulnerable component
- Impact
- low on confidentiality and integrity, none on availability
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| laravel/framework (Packagist) | ≥ 13.0.0, < 13.43.0 | 13.43.0 |
| < 12.73.0 | 12.73.0 | |
| laravel framework | >= 13.0.0, < 13.43.0, < 12.73.0 | — |
References by type
Vendor advisories
Patches and fixed releases
- github.com/laravel/framework/commit/6ba5a0ba058389f3b72338a3fe2c9cd0424…
- github.com/laravel/framework/commit/98d49e77d3820f6ad4f9718efba7f236fff…
- github.com/laravel/framework/pull/62455
- github.com/laravel/framework/pull/62456
- github.com/laravel/framework/releases/tag/v12.73.0
- github.com/laravel/framework/releases/tag/v13.43.0
Other references
Affected
- laravel framework
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142638?
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). Weakness type: Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting') (CWE-79).
How severe is CVE-2026-142638?
CVE-2026-142638 has a CVSS 3.1 base score of 4.2 (medium), from the CNA (github.com). An attacker without an account can exploit this over the network if a user is tricked into an action, but only under specific conditions.
Is CVE-2026-142638 being exploited?
Not as far as is known: CVE-2026-142638 is not in CISA's Known Exploited Vulnerabilities catalog as of December 4, 2026. EPSS estimates a 0.3% chance that it is exploited in the next 30 days.
Which versions are affected by CVE-2026-142638?
laravel/framework (Packagist) ≥ 13.0.0, < 13.43.0 (fixed in 13.43.0); laravel/framework (Packagist) < 12.73.0 (fixed in 12.73.0); laravel framework >= 13.0.0, < 13.43.0, < 12.73.0.
How do I fix CVE-2026-142638?
Update to a fixed release: laravel/framework (Packagist) 13.43.0; laravel/framework (Packagist) 12.73.0.
Timeline & sources
References
Related vulnerabilities & news
- CVE-2026-144464 — appwrite
- CVE-2026-77300 — itflow-org itflow
- Wordfence Logs 443 WordPress Vulnerabilities in One Week, Mostly in Plugins
- Silverstripe Userforms Server-Side Template Injection via Email Subject Field (CVE-2026-88991)
- SilverStripe Advanced Workflow Allows Code Execution via Email Templates