CVE-2026-142642
MEDIUM 5.4CVSS 3.1Laravel: XSS via unescaped Stringable values in Blade component attribute bag
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.
- Published
- 2 Dec 2026
- Last modified
- 3 Dec 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Awaiting Analysis
- Weakness
- CWE-83
- Also known as
- GHSA-hv67-wfqj-w9xv
- Sources
- NVDJSONCVE ListJSONOSV GHSA-hv67-wfqj-w9xvJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| CVE List | laravel | framework | = >= 13.0.0, < 13.43.0; = < 12.73.0 | |
| OSV | Packagist | laravel/framework | >= 13.0.0, < 13.43.0 | 13.43.0 |
| OSV | Packagist | laravel/framework | < 12.73.0 | 12.73.0 |
References
- https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/pull/62503 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/releases/tag/v12.73.0 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/releases/tag/v13.43.0 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-142642 · ADVISORY
- https://github.com/laravel/framework · PACKAGE
History
- 3 Dec 2026 21:56 UTC · NVD: status Received → Awaiting Analysis
- 3 Dec 2026 19:56 UTC · OSV: first stored (published 3 Dec 2026)
- 3 Dec 2026 00:30 UTC · NVD: first stored (published 2 Dec 2026)
- 2 Dec 2026 23:30 UTC · CVE List: first stored (published 2 Dec 2026)