Skip to content
CVE PROGRAM SOURCE RECORD3.1 Low

CVE-2026-142626

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

laravel framework

  • >= 13.0.0, < 13.43.0affected
  • < 12.73.0affected

References