CVE-2026-142626

Laravel: Markdown secured encoding bypassed when Blade views are cached

Published Dec 2, 2026 CVSS 3.1 · 3.1 Low EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-5xc4-gpwg-p8wq Laravel: Markdown secured encoding bypassed when Blade views are cached
History
Type Values Removed Values Added
First Time appeared Laravel
Laravel framework
Vendors & Products Laravel
Laravel framework
Type Values Removed Values Added
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.
Title Laravel: Markdown secured encoding bypassed when Blade views are cached
Weaknesses CWE-116
References
Metrics cvssV3_1

{'score': 3.1, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Dec 3, 2026, 5:10 PM
Reserved
Dec 2, 2026, 10:52 PM
Status
Received
Published
Dec 2, 2026, 11:18 PM
Modified
Dec 3, 2026, 5:18 PM