CVE-2026-142626
### 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.
Properties
- Severity
- low
- Summary
- Laravel: Markdown secured encoding bypassed when Blade views are cached
- Nvd fetched at
- 2026-12-04T15:00:48.841578+00:00
- Epss score
- 0.00354
- Cvss severity
- LOW
- Cvss score
- 3.1
- Retrieved at
- 2026-12-04T15:02:58+00:00
- Ghsa published
- 2026-12-03T18:16:35Z
- Source url
- https://github.com/advisories/GHSA-5xc4-gpwg-p8wq
- Ghsa updated
- 2026-12-03T18:16:38Z
- Ghsa id
- GHSA-5xc4-gpwg-p8wq
- Last source
- FIRST EPSS
- Score
- 3.1
- Cvss version
- 3.1
- Cve id
- CVE-2026-142626
- Cvss vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
- First seen by Signal
- 2026-12-03T02:46:42+00:00
- Name
- CVE-2026-142626
- Is ghsa only
- false
- Vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N
Related Entities (3)
AFFECTS (1)
HAS_WEAKNESS (1)
VULNERABLE_TO (1)
Related research
Explore deeper with Ninja Signal's threat intelligence graph