{"api_version":"1","generated_at":"2026-12-03T02:30:18+00:00","cve":"CVE-2026-142642","urls":{"html":"https://cve.report/CVE-2026-142642","api":"https://cve.report/api/cve/CVE-2026-142642.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142642","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142642"},"summary":{"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-12-02 23:18:42","updated_at":"2026-12-02 23:18:42"},"problem_types":["CWE-83","CWE-83 CWE-83: Improper Neutralization of Script in Attributes in a Web Page"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","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","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","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","data":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv","name":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7","name":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/releases/tag/v12.73.0","name":"https://github.com/laravel/framework/releases/tag/v12.73.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/pull/62503","name":"https://github.com/laravel/framework/pull/62503","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/laravel/framework/releases/tag/v13.43.0","name":"https://github.com/laravel/framework/releases/tag/v13.43.0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142642","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142642","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"laravel","product":"framework","version":"affected >= 13.0.0, < 13.43.0","platforms":[]},{"source":"CNA","vendor":"laravel","product":"framework","version":"affected < 12.73.0","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"framework","vendor":"laravel","versions":[{"status":"affected","version":">= 13.0.0, < 13.43.0"},{"status":"affected","version":"< 12.73.0"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.4,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-83","description":"CWE-83: Improper Neutralization of Script in Attributes in a Web Page","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T22:49:24.109Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv","tags":["x_refsource_CONFIRM"],"url":"https://github.com/laravel/framework/security/advisories/GHSA-hv67-wfqj-w9xv"},{"name":"https://github.com/laravel/framework/pull/62503","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/pull/62503"},{"name":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/commit/d214178be8144c729f3318b194d474d0ed042db7"},{"name":"https://github.com/laravel/framework/releases/tag/v12.73.0","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v12.73.0"},{"name":"https://github.com/laravel/framework/releases/tag/v13.43.0","tags":["x_refsource_MISC"],"url":"https://github.com/laravel/framework/releases/tag/v13.43.0"}],"source":{"advisory":"GHSA-hv67-wfqj-w9xv","discovery":"UNKNOWN"},"title":"Laravel: XSS via unescaped Stringable values in Blade component attribute bag"}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-142642","datePublished":"2026-12-02T22:49:24.109Z","dateReserved":"2026-12-02T22:31:29.396Z","dateUpdated":"2026-12-02T22:49:24.109Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 23:18:42","lastModifiedDate":"2026-12-02 23:18:42","problem_types":["CWE-83","CWE-83 CWE-83: Improper Neutralization of Script in Attributes in a Web Page"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N","baseScore":5.4,"baseSeverity":"MEDIUM","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.8,"impactScore":2.5}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142642","Ordinal":"1","Title":"Laravel: XSS via unescaped Stringable values in Blade component ","CVE":"CVE-2026-142642","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142642","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Laravel: XSS via unescaped Stringable values in Blade component "}]}}}