Laravel: Unescaped bound attributes on Blade dynamic components that resolve to class-based components

Summary

CVECVE-2026-142638
StatePUBLISHED
AssignerGitHub_M
Source PriorityCVE Program / NVD first with legacy fallback
Published2026-12-02 23:18:42 UTC
Updated2026-12-02 23:18:42 UTC
DescriptionLaravel 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.

Risk And Classification

Primary CVSS: v3.1 4.2 MEDIUM from [email protected]

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Problem Types: CWE-79 | CWE-79 CWE-79: Improper Neutralization of Input During Web Page Generation


VersionSourceTypeScoreSeverityVector
3.1[email protected]Secondary4.2MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
3.1CNADECLARED4.2MEDIUMCVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

CVSS v3.1 Breakdown

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Laravel Framework affected >= 13.0.0, < 13.43.0 Not specified
CNA Laravel Framework affected < 12.73.0 Not specified

References

ReferenceSourceLinkTags
github.com/laravel/framework/releases/tag/v12.73.0 [email protected] github.com
github.com/laravel/framework/commit/98d49e77d3820f6ad4f9718efba7f236fff9... [email protected] github.com
github.com/laravel/framework/pull/62455 [email protected] github.com
github.com/laravel/framework/commit/6ba5a0ba058389f3b72338a3fe2c9cd04240... [email protected] github.com
github.com/laravel/framework/releases/tag/v13.43.0 [email protected] github.com
github.com/laravel/framework/pull/62456 [email protected] github.com
github.com/laravel/framework/security/advisories/GHSA-9966-43cq-4mpr [email protected] github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report