# CVE-2026-142642: Laravel: XSS via unescaped Stringable values in Blade component attribute bag

- Priority: **Routine**
- Reason: Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-12-02 · Modified: 2026-12-05
- Aliases: CGA-gx9c-3r27-p3mx
- Record: https://cvemate.com/vulnerability/CVE-2026-142642 · JSON: https://cvemate.com/vulnerability/CVE-2026-142642/json

## Description

```text
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.
```

## Signals

- CVSS: 5.4 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
- EPSS: 0.299%, percentile 24.293%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- chainguard linuxserver-heimdal (Chainguard): All versions (No fix recorded)
- laravel framework: ≥ 13.0.0, \< 13.43.0 \| \< 12.73.0

## References

- <https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv>
- <https://github.com/laravel/framework/pull/62503>
- <https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7>
- <https://github.com/laravel/framework/releases/tag/v12.73.0>
- <https://github.com/laravel/framework/releases/tag/v13.43.0>

---

Data as of 2026-12-05T09:19:55.782Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
