{"id":"CVE-2026-142626","state":"PUBLISHED","title":"Laravel: Markdown secured encoding bypassed when Blade views are cached","description":"Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Applications that enable Markdown::withSecuredEncoding() to escape user-controlled data in Markdown mail and mail notifications may not get that protection when views have been precompiled with php artisan view:cache or php artisan optimize. The cached view, compiled with the default echo format, is reused when mail views are rendered, so the secured encoder never runs. An attacker who controls data included in an email, such as a user name, could inject Markdown links or remote images into the message, for example for phishing or tracking. This issue is fixed in versions 13.43.0 and 12.73.0.","publishedAt":"2026-12-02T22:32:24.031Z","updatedAt":"2026-12-02T22:32:24.031Z","severity":{"score":3.1,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["laravel framework"],"affected":[{"vendor":"laravel","product":"framework","versions":[{"version":">= 13.0.0, < 13.43.0","status":"affected"},{"version":"< 12.73.0","status":"affected"}]}],"references":["https://github.com/laravel/framework/security/advisories/GHSA-5xc4-gpwg-p8wq","https://github.com/laravel/framework/pull/61822","https://github.com/laravel/framework/commit/6bff072eaf676a672851f27157be9f42617ec4a9","https://github.com/laravel/framework/releases/tag/v12.73.0","https://github.com/laravel/framework/releases/tag/v13.43.0"],"weaknesses":["CWE-116"],"ingestedAt":"2026-12-02T22:38:06.035Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/142xxx/CVE-2026-142626.json","commit":"23669dfe9f35cce00649fa424f0d3d224056db77","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-142626","state":"PUBLISHED","datePublished":"2026-12-02T22:32:24.031Z","dateUpdated":"2026-12-02T22:32:24.031Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-12-02T21:52:32.658Z"},"containers":{"cna":{"title":"Laravel: Markdown secured encoding bypassed when Blade views are cached","descriptions":[{"lang":"en","value":"Laravel is a web application framework. Prior to 13.43.0 and 12.73.0, Applications that enable Markdown::withSecuredEncoding() to escape user-controlled data in Markdown mail and mail notifications may not get that protection when views have been precompiled with php artisan view:cache or php artisan optimize. The cached view, compiled with the default echo format, is reused when mail views are rendered, so the secured encoder never runs. An attacker who controls data included in an email, such as a user name, could inject Markdown links or remote images into the message, for example for phishing or tracking. This issue is fixed in versions 13.43.0 and 12.73.0."}],"affected":[{"vendor":"laravel","product":"framework","versions":[{"version":">= 13.0.0, < 13.43.0","status":"affected"},{"version":"< 12.73.0","status":"affected"}]}],"references":[{"url":"https://github.com/laravel/framework/security/advisories/GHSA-5xc4-gpwg-p8wq","name":"https://github.com/laravel/framework/security/advisories/GHSA-5xc4-gpwg-p8wq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/laravel/framework/pull/61822","name":"https://github.com/laravel/framework/pull/61822","tags":["x_refsource_MISC"]},{"url":"https://github.com/laravel/framework/commit/6bff072eaf676a672851f27157be9f42617ec4a9","name":"https://github.com/laravel/framework/commit/6bff072eaf676a672851f27157be9f42617ec4a9","tags":["x_refsource_MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v12.73.0","name":"https://github.com/laravel/framework/releases/tag/v12.73.0","tags":["x_refsource_MISC"]},{"url":"https://github.com/laravel/framework/releases/tag/v13.43.0","name":"https://github.com/laravel/framework/releases/tag/v13.43.0","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.1,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-116","lang":"en","description":"CWE-116: Improper Encoding or Escaping of Output","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-12-02T22:32:24.031Z"},"source":{"advisory":"GHSA-5xc4-gpwg-p8wq","discovery":"UNKNOWN"}}}}}