VulnWatch by ve1ve2
low 3.1

GHSA-5xc4-gpwg-p8wq: Markdown secured encoding bypassed when Blade views are cached

Source:
Laravel framework releases (GitHub laravel/framework)
Published:
Fetched:
Updated:
Affects:
laravel laravel/framework

https://github.com/laravel/framework/security/advisories/GHSA-5xc4-gpwg-p8wq ↗

repo-advisorycomposersecurityrepo:laravel/framework

Markdown secured encoding bypassed when Blade views are cached ### 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. Affected packages: composer:laravel/framework Patched: laravel/framework >=13.43.0, laravel/framework >=12.73.0

Linked vulnerabilities (1)

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N

Markdown secured encoding bypassed when Blade views are cached