{"schemaVersion":4,"id":"CVE-2026-142642","aliases":["CGA-gx9c-3r27-p3mx"],"status":"published","duplicateOf":null,"title":"Laravel: XSS via unescaped Stringable values in Blade component attribute bag","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.","dates":{"published":"2026-12-02T22:49:24.109Z","modified":"2026-12-05T03:42:18.289Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.4,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.4,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00299,"percentile":0.24293,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":null,"baselineDate":null,"baselineScore":null},"history":[{"date":"2026-12-03T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00299,"percentile":0.24293}],"last30":[{"date":"2026-12-03T00:00:00.000Z","score":0.00299,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00299,"percentile":0.24293}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-83","name":"Improper Neutralization of Script in Attributes in a Web Page","description":"The product does not neutralize or incorrectly neutralizes \"javascript:\" or other URIs from dangerous attributes within tags, such as onmouseover, onload, onerror, or style.","type":"weakness","status":"Draft","abstraction":"Variant","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/83.html"}],"affected":[{"vendor":"chainguard","product":"linuxserver-heimdal","name":"linuxserver-heimdal","label":"linuxserver-heimdal","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/linuxserver-heimdal","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null,"bounds":{"kind":"all"}}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"laravel","product":"framework","name":"framework","label":"framework","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"≥ 13.0.0, < 13.43.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":"13.0.0","startInclusive":true,"end":"13.43.0","endInclusive":false}},{"text":"< 12.73.0","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"12.73.0","endInclusive":false}}],"versionsText":"≥ 13.0.0, < 13.43.0 | < 12.73.0","eol":null,"hubHref":"/vendor/laravel/framework"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv","label":"github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv","hostname":"github.com","tags":["X Refsource CONFIRM"]},{"url":"https://github.com/laravel/framework/pull/62503","label":"github.com/laravel/framework/pull/62503","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7","label":"github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v12.73.0","label":"github.com/laravel/framework/releases/tag/v12.73.0","hostname":"github.com","tags":["X Refsource MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v13.43.0","label":"github.com/laravel/framework/releases/tag/v13.43.0","hostname":"github.com","tags":["X Refsource MISC"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-12-02T22:49:24.109Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-12-05T03:42:18.289Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 5.4, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,54],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"cvss","source":"cve.org","date":"2026-12-05T03:42:18.289Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-12-05T03:42:18.289Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":5.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-12-05T03:42:11.490Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"},{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00299,"stale":false,"promoted":null}],"epss":{"value":0.00299,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T09:01:26.874Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T09:01:27.430Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T09:01:27.610Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T09:01:02.756Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T09:01:25.188Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T09:01:24.136Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T09:19:55.782Z","stale":false,"partial":false}}