## Laravel: XSS via unescaped Stringable values in Blade component attribute bag

- 種別: advisory
- 重大度: medium
- 関連技術: php, laravel
- CVE: CVE-2026-142642
- 公開日時: 2026-12-03T18:52:18.000Z
- 情報源: GitHub Advisory Database (https://github.com/advisories/GHSA-hv67-wfqj-w9xv)
- パーマリンク: https://vulnpulse.app/items/ghsa-ghsa-hv67-wfqj-w9xv

影響: composer:laravel/framework >= 13.0.0, < 13.43.0 → 13.43.0, composer:laravel/framework < 12.73.0 → 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.…