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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-83"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142642.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "13.0.0"
},
{
"fixed": "13.43.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"introduced": "0"
},
{
"fixed": "12.73.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "d214178be8144c729f3318b194d474d0ed042db7"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v12.73.0",
"range": [
{
"fixed": "d091054fca4761e109b477bdca364dc93c7fd6df"
}
],
"source": "REFERENCES_TAG"
},
{
"original_tag": "v13.43.0",
"range": [
{
"fixed": "72aa7e151062e218704d8660f407e6070040d8bc"
}
],
"source": "REFERENCES_TAG"
}
]
}