CVE-2026-142638
MEDIUM 4.2CVSS 3.1Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components
Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Blade's <x-dynamic-component> did not HTML-escape bound attributes (:attr="$value") when the target resolved to a class-based component. If user-controlled data was bound to an attribute that is not a constructor parameter and the component outputs {{ $attributes }}, the value could break out of the HTML attribute and lead to cross-site scripting (XSS). The same component rendered with its normal tag escaped the value correctly. Anonymous component targets were not affected. Existing compiled views retain the vulnerable behavior until they are cleared or recompiled with php artisan view:clear or php artisan view:cache. 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-79
- Also known as
- GHSA-9966-43cq-4mpr
- Sources
- NVDJSONCVE ListJSONOSV GHSA-9966-43cq-4mprJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| CVE List | GitHub_M | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 4.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N |
| CVE List | CISA-ADP | SSVC | Exploitation: none; Automatable: no; Technical Impact: partial |
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/6ba5a0ba058389f3b72338a3fe2c9cd04240c93c · x_refsource_MISC, WEB
- https://github.com/laravel/framework/commit/98d49e77d3820f6ad4f9718efba7f236fff972c7 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/pull/62455 · x_refsource_MISC, WEB
- https://github.com/laravel/framework/pull/62456 · 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-9966-43cq-4mpr · x_refsource_CONFIRM, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-142638 · 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 15:56 UTC · CVE List: updated (other details)
- 3 Dec 2026 15:56 UTC · NVD: updated (other details)
- 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)