← Vulnerabilities

LowAdvisoryPHPLaravel

Laravel: Markdown secured encoding bypassed when Blade views are cached

Affected

PackageAffected versionsFixed in
composer:laravel/framework>= 13.0.0, < 13.43.013.43.0
composer:laravel/framework< 12.73.012.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…

Read on GitHub Advisory Database

On 12/04/2026, 03:16 AM, GitHub Advisory Database published "Laravel: Markdown secured encoding bypassed when Blade views are cached" (type: Advisory). Severity is "Low" (low). Related technologies: PHP, Laravel. CVE: CVE-2026-142626.