- Accueil
- Vulnérabilités
- CVE-2026-142642
CVE-2026-142642
Laravel: XSS via unescaped Stringable values in Blade component attribute bag
Résumé
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.
Aucune traduction française : description d’origine affichée.
Produits et versions affectés
Laravel (1 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| Framework | Versions non précisées | — | CNA (éditeur ou attributeur) |
Packagist (2 ligne(s))
| Produit | Versions | Corrigé dans | Source |
|---|---|---|---|
| laravel/framework | de 13.0.0 (inclus) à 13.43.0 (exclu) |
13.43.0 |
GitHub Advisory |
| laravel/framework | avant 12.73.0 (exclu) |
12.73.0 |
GitHub Advisory |
Correctif
Mise à jour — Packagist/laravel/framework 13.43.0; Packagist/laravel/framework 12.73.0source officielle
Source : GitHub Advisory
Contournement
Aucun contournement renseigné.
Savoir si vous êtes touché
Aucune méthode de vérification renseignée.
Chronologie
- — Publication de la CVE (cve)
Avis CERT-FR
- GHSA-hv67-wfqj-w9xv — Laravel: XSS via unescaped Stringable values in Blade component attribute bag 3 déc. 2026
Références
- https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xvx_refsource_CONFIRM
- https://github.com/laravel/framework/pull/62503x_refsource_MISC
- https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v12.73.0x_refsource_MISC
- https://github.com/laravel/framework/releases/tag/v13.43.0x_refsource_MISC
- https://nvd.nist.gov/vuln/detail/CVE-2026-142642ADVISORY
- https://github.com/laravel/frameworkPACKAGE
Provenance des données
- Statut
- NVD
- Date de publication
- NVD
- Description
- CNA (éditeur ou attributeur)
- Score CVSS
- CNA (éditeur ou attributeur)
- Faiblesse (CWE)
- NVD
- Vecteur CVSS
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N(CVSS 3.1, CNA:security-advisories@github.com)- Faiblesse
- CWE-83 · Autre (CWE-83)