CVE-2026-142638
### Impact 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. ### Patches The fix is merged on the 13.x and 12.x branches: https://github.com/laravel/framework/pull/62455 and https://github.com/laravel/framework/pull/62456. It has not been confirmed as released. Compiled views keep the previous behavior until they are recompiled, so run `php artisan view:clear` or `php artisan view:cache` after upgrading.
Properties
- Severity
- medium
- Summary
- Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.00292
- Cvss severity
- MEDIUM
- Cvss score
- 4.2
- Retrieved at
- 2026-12-04T15:02:58+00:00
- Ghsa published
- 2026-12-03T18:45:06Z
- Source url
- https://github.com/advisories/GHSA-9966-43cq-4mpr
- Ghsa updated
- 2026-12-03T18:45:07Z
- Ghsa id
- GHSA-9966-43cq-4mpr
- Last source
- FIRST EPSS
- Score
- 4.2
- Cvss version
- 3.1
- Cve id
- CVE-2026-142638
- Cvss vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
- First seen by Signal
- 2026-12-03T02:46:42+00:00
- Name
- CVE-2026-142638
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph