{"affected":[{"product":"framework","source":"CNA: GitHub_M","vendor":"laravel","versions":[{"status":"affected","version":">= 13.0.0, < 13.43.0"},{"status":"affected","version":"< 12.73.0"}]}],"cveId":"CVE-2026-142642","cwes":["CWE-83"],"description":"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":5.4,"severity":"medium","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"score":5.4,"severity":"medium","source":"NVD: security-advisories@github.com","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}],"modifiedAt":1796253522937,"publishedAt":1796251764109,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/pull/62503"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v12.73.0"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v13.43.0"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/laravel/framework/pull/62503"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/laravel/framework/releases/tag/v12.73.0"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/laravel/framework/releases/tag/v13.43.0"},{"source":"security-advisories@github.com","tags":[],"url":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv"}],"remediation":[],"revision":"0286e69512fb4e6bbaa827e02386dd251dcc41b3bb6a28d24d13450b163cd235","sources":[{"modifiedAt":1796251764109,"name":"CNA: GitHub_M","retrievedAt":1796252999554,"url":"https://www.cve.org/CVERecord?id=CVE-2026-142642"},{"modifiedAt":1796253522937,"name":"NVD","retrievedAt":1796257330560,"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142642"}],"ssvc":null,"status":"published","title":"Laravel: XSS via unescaped Stringable values in Blade component attribute bag","updatedAt":1796257330560}