CVE-2026-142642: Laravel: XSS via unescaped Stringable values in Blade component attribute bag
Vulnerability summary
CVE-2026-142642 is a medium (CVSS 5.4) vulnerability in laravel framework. EPSS estimates a 0.30% chance of exploitation in the next 30 days, higher than 24.2% of scored vulnerabilities.
Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Timeline
- 02-12-2026PublishedVulnerability first disclosed.
- 05-12-2026Last modifiedVulnerability information updated.
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.
CVSS metrics
2 scores · 2 sources · 1 version- NVDNIST5.4MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
EPSS trend
Probability
0.30%
Chance of exploitation in the next 30 days
Percentile
24%
Versus all other CVEs
30-day change
Change unavailable
Change unavailable
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard1 product
- linuxserver-heimdalAll versions (No fix recorded)
Laravel1 product
- framework≥ 13.0.0, < 13.43.0 | < 12.73.0
2 vendors · 2 products
References
5 links- github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xvX Refsource CONFIRM
- github.com/laravel/framework/pull/62503X Refsource MISC
- github.com/laravel/framework/releases/tag/v12.73.0X Refsource MISC
- github.com/laravel/framework/releases/tag/v13.43.0X Refsource MISC