CVE-2026-142638
Last modified
CVE-2026-142638 is a medium-severity vulnerability rated 4.2/10 on the CVSS scale. 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. EPSS estimates a 0.29% chance of exploitation in the next 30 days.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| laravel | framework | >= 13.0.0, < 13.43.0; < 12.73.0 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-142638?
How severe is CVE-2026-142638?
How do I fix CVE-2026-142638?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142625Laravel is a web application framework. Prior to 12.72.0 and…5.3
- CVE-2026-142626Laravel is a web application framework. Prior to 13.43.0 and…3.1
- CVE-2026-142634Laravel is a web application framework. Prior to 13.43.0 and…5.3
- CVE-2026-142635Laravel is a web application framework. Prior to 13.43.0 and…6.5
- CVE-2026-142636Laravel is a web application framework. Prior to 12.73.0, Wh…6.8
- CVE-2026-142637Laravel is a web application framework. Prior to 13.43.0 and…4.8
- CVE-2026-142641Laravel is a web application framework. Prior to 13.43.0 and…5.3
- CVE-2026-142642Laravel is a web application framework. Prior to 13.43.0 and…5.4
- CVE-2026-142643Laravel is a web application framework. Prior to 13.43.0 and…5.3
- CVE-2026-142644Laravel is a web application framework. Prior to 13.43.0 and…5.3
- CVE-2026-142645Laravel is a web application framework. Prior to 12.72.0 and…4.8
- CVE-2026-142647Laravel is a web application framework. Prior to 12.72.0 and…4.8
Are you affected by CVE-2026-142638?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
