Vulnerability GHSA-5xc4-gpwg-p8wq

Low Risk
LOW RISK
CVSS Score: 3.1
Score Range: < 4.0
Low severity vulnerabilities (CVSS < 4.0). Hygiene issues that can accumulate but pose lower immediate risk.
21 hours ago
December 03, 2026 at 06:16 PM UTC
Laravel: Markdown secured encoding bypassed when Blade views are cached
4.0.0-BETA2 - 12.72.0 and 13.0.0 - 13.42.0
4.0.0-BETA2 - 12.72.0 and 13.0.0 - 13.42.0

Summary

Laravel: Markdown secured encoding bypassed when Blade views are cached

Details

Impact

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.

Patches

The issue is fixed by giving non-default echo formats their own compiled view file: https://github.com/laravel/framework/pull/61822

Workarounds

No verified workaround is available.

Impacted packages

Timeline

Published
21 hours ago
December 03, 2026 at 06:16 PM UTC
Fixed (12.73.0)
17 days ago
November 17, 2026 at 02:54 PM UTC
Fixed (13.43.0)
17 days ago
November 17, 2026 at 02:58 PM UTC
Last Modified
21 hours ago
December 03, 2026 at 06:30 PM UTC