CVE-2026-142642
Last modified
CVE-2026-142642 is a medium-severity vulnerability rated 5.4/10 on the CVSS scale. Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Blade component attribute bags did not HTML-escape non-Htmlable object values, such as Illuminate\Support\Stringable, passed to ComponentAttributeBag::merge() or prepends(). EPSS estimates a 0.30% 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 component attribute bags did not HTML-escape non-Htmlable object values, such as Illuminate\Support\Stringable, passed to ComponentAttributeBag::merge() or prepends(). Applications that place user-controlled Stringable values (for example, the result of request()->string()) into component attributes could allow an attacker to break out of the attribute and inject arbitrary attributes, such as event handlers. This results in cross-site scripting that runs in the origin of the application. 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-142642?
How severe is CVE-2026-142642?
How do I fix CVE-2026-142642?
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-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-142638Laravel is a web application framework. Prior to 13.43.0 and…4.2
- CVE-2026-142641Laravel is a web application framework. Prior to 13.43.0 and…5.3
- 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
- CVE-2026-142648Laravel is a web application framework. Prior to 13.26.0 and…4.9
- CVE-2026-142649Laravel is a web application framework. Prior to 12.67.0 and…5.3
Are you affected by CVE-2026-142642?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
