CVE-2026-142626
Laravel: Markdown secured encoding bypassed when Blade views are cached
- Severity
- low CVSS 3.1 (v3.1)
- Affects
- framework · laravel
- Weakness
- CWE-116: Improper Encoding or Escaping of Output
- Published
- 2 December 2026 by GitHub_M
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.
Our coverage
We have not written about this one. Know why it matters? Send a tip.