Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components
CVE-2026-142638
Impact Blade's 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.
Assessment
- CVSS
- 4.2 (v3.1)
- Severity
- Medium
- EPSS
- 0.00292% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 3 December 2026
- Last updated
- 3 December 2026
- Affected
- laravel · framework · laravel/framework
- Weakness
- CWE-79
- Assigner
- security-advisories@github.com
CVSS vectorCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
At the source
References
- https://github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mpr
- https://nvd.nist.gov/vuln/detail/CVE-2026-142638
- https://github.com/laravel/framework/pull/62455
- https://github.com/laravel/framework/pull/62456
- https://github.com/laravel/framework/commit/6ba5a0ba058389f3b72338a3fe2c9cd04240c93c
- https://github.com/laravel/framework/commit/98d49e77d3820f6ad4f9718efba7f236fff972c7
- https://github.com/laravel/framework/releases/tag/v12.73.0
- https://github.com/laravel/framework/releases/tag/v13.43.0
- https://github.com/advisories/GHSA-9966-43cq-4mpr
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142638